Anyone has some comments on the issue? thanks!

On 8月24日, 下午2时57分, Simon Chan <[email protected]> wrote:
> I have encountered a format coversion issue when manage to add copybit
> module for some hw 2D core.
>
> There are a lot of blit operations from COPYBIT_FORMAT_RGBA_8888 to
> COPYBIT_FORMAT_RGB_565 when do menu rendering.
>
> It looks the layout of android COPYBIT_FORMAT_RGBA_8888 format is as
> figure 1.
>
> 31     ...      0
> ---------------------
> | A | B | G | R |  (1)
> ---------------------
>
> but unfortunately, for 8:8:8:8, the 2d hw in question only supports
> layout as figure 2.
>
> 31     ...      0
> ---------------------
> | A | R | G | B |  (2)
> ---------------------
>
> So my question is there any thing I can do to work aound it, and will
> not hurt performance significantly? eg. I can force ARGB src image
> data.
>
> Suggestion is welcome and much appreciated. Thanks a lot.
>
> ps. the attachment contains hw and sw rendering images of the menu.
>
> BR.
> Simon
>
>  menu-hw.png
> 136K查看下载
>
>  menu-sw.png
> 156K查看下载

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to