[webkit-dev] RGBA8 and BGRA8 formats in WebKit

Allan Sandfeld Jensen kde at carewolf.com
Tue Jan 22 08:44:36 PST 2013


On Tuesday 22 January 2013, Zoltan Herczeg wrote:
> >> Where in WebKit do you experience problems with color conversion?
> 
> As for me WebKit2 transmits BGRA images, which needs to be converted to
> RGBA before it is uploaded to a texture on GLES 2.0. These conversions
> seems computation heavy for certain animations, and I was wondered whether
> do we really need to use BGRA here. It would be nice to invent something
> to avoid that.
> 
BGRA is byte order or 32bit ARGB on a little endian machine. 

`Allan


More information about the webkit-dev mailing list