Thanks Mathias,

How soon we can see this change happening in Master branch?
We are in process of accelerating copybit. Is it worth putting effort in
this direction or shall we go with OpenGL APIs for 2D accelerations without
using copybit?

Regards,
Manish




On Fri, May 22, 2009 at 2:22 PM, pixelflinger <pixelflin...@google.com>wrote:

>
> Hi,
>
> copybit is just an abstraction for a basic 2D blitter with support for
> rotation, scaling and color/pixelformat conversions. These features
> can be supported in full or partially.
>
> If the copybit module is present, then SurfaceFlinger will try to use
> it instead of using OpenGL ES.
>
> On the G1 copybit is used for all window compositions and video
> playback (CC and scaling), on this h/w copybit is very fast and
> provide very good up and down scaling.
>
> HOWEVER, on the release after Donut, the copybit module won't be used
> by SurfaceFlinger directly, instead it will be used as a back-end for
> our software OpenGL ES 1.x and SurfaceFlinger will only use the OpenGL
> ES API.
> Eventually, the copybit module will be phased out, instead, we will
> ask the ISV/OEMs to implement these features on their OpenGL ES
> drivers, if they think it is necessary.
>
>
> If your h/w doesn't have accelerated GL, but has some sort of decent
> 2D blitter, you can write a copybit HAL module for it, and it will be
> used automatically by SurfaceFlinger -- at least under cupcake and
> donut.
>
>
> Mathias
>
>
> On May 20, 8:57 pm, Wenlong Li <wenl...@gmail.com> wrote:
> > Should I send this message to this group? anyone can help answer my
> > question. thx very much
> >
>  > On Wed, May 20, 2009 at 6:17 PM, Wenlong Li <wenl...@gmail.com> wrote:
> > > Hello,
> >
> > > Can anyone share some info about copybit? I saw there is a header file
> > > (copybit.h) under hardware directory, but don't know the detailed
> > > implementation. I guess the main operation is to copy image from
> > > source to destination, and scale image. Is my understanding correct?
> >
> > > Besides these, can it support image format conversion, such as from
> > > YUV to RGB. Seems camera capatures image in YUV format, and does
> > > conversion before showing it in screen.
> >
> > > The third question is which device is used for copybit? GPU or other
> devices?
> >
> > > thx,
> > > Wenlong
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to