On Mon, Jan 21, 2013 at 7:00 AM, Zoltan Herczeg <zherc...@webkit.org> wrote:
> In WebKit both RGBA and BGRA formats are used for different purposes and > different platforms in WebKit. Do we have a policy which one we prefer? It > would be nice to reduce conversions between them in the future as it seems > costly on embedded systems. > The Web APIs use RGBA (E.g. http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas/#canvas-pixel-arraybuffer ) Using that internally will prevent conversion at the boundaries JS<->WebCore. Internally, each port should be able to use any format. On some embedded systems, it can be advantageous to use 24 bits colors (or even 16 bits sometimes). Where in WebKit do you experience problems with color conversion? Benjamin
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev