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] Patch
Comment on attachment 127384 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=127384&action=review r=me but please fix the minor issues > Source/WebCore/platform/graphics/opengl/TextureMapperGL.cpp:638 > + return (availableExtensions.contains(extension)); why the extra ()s? > Source/WebCore/platform/graphics/opengl/TextureMapperGL.cpp:640 > +static bool hasBgraExtension() BGRA* this is webkit style not Qt :-)
Created attachment 127390 [details] Patch
Comment on attachment 127390 [details] Patch Clearing flags on attachment: 127390 Committed r107951: <http://trac.webkit.org/changeset/107951>
All reviewed patches have been landed. Closing bug.