Thanks Mathias On Tue, May 26, 2009 at 8:43 AM, pixelflinger <pixelflin...@google.com>wrote:
> > Hi, > > There will be a new SurfaceFlinger API for video playback; that API > will use copybit on the G1, could use real overlays on other devices. > > Mathias > > On May 25, 5:41 am, MS <manishsharm...@gmail.com> wrote: > > Hi Mathias, > > > > >> 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. > > > > I have one doubt on the above statement. > > You are saying copybit will be used as back-end for s/w OpenGL. Can we > > pass YUV data directly to OpenGL for color conversion? > > As I know YUV formats are not supported in standard OpenGL ES 1.x. > > Where will CC be done in this scenario? > > Sorry to ask you at the moment while this will be very helpful to > > align our design with future android releases. > > > > Regards, > > MS > > > > On May 22, 1:52 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- Hide quoted text - > > > > > - Show quoted text - > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---