Right now we swizzle RGB in the web process; This doesn't take onto account GL drivers that do support BGRA (all desktop drivers, for example).
Since we're going to move to an architecture where textures are uploaded in the web-process, for now we move the swizzling back to TextureMapperGL, and do it only in the case where the extension doesn't exist.
Created attachment 127384 [details]
Comment on attachment 127384 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=127384&action=review
r=me but please fix the minor issues
> + return (availableExtensions.contains(extension));
why the extra ()s?
> +static bool hasBgraExtension()
BGRA* this is webkit style not Qt :-)
Created attachment 127390 [details]
Comment on attachment 127390 [details]
Clearing flags on attachment: 127390
Committed r107951: <http://trac.webkit.org/changeset/107951>
All reviewed patches have been landed. Closing bug.