Bug 78822

Summary: [Texmap] Improve the way we deal with BGRA extension
Product: WebKit Reporter: Noam Rosenthal <noam>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: kenneth, webkit.review.bot
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
kenneth: review+
Patch none

Noam Rosenthal
Reported 2012-02-16 08:26:48 PST
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.
Attachments
Patch (14.22 KB, patch)
2012-02-16 08:31 PST, Noam Rosenthal
kenneth: review+
Patch (13.53 KB, patch)
2012-02-16 09:00 PST, Noam Rosenthal
no flags
Noam Rosenthal
Comment 1 2012-02-16 08:31:55 PST
Kenneth Rohde Christiansen
Comment 2 2012-02-16 08:38:36 PST
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 :-)
Noam Rosenthal
Comment 3 2012-02-16 09:00:57 PST
WebKit Review Bot
Comment 4 2012-02-16 09:48:21 PST
Comment on attachment 127390 [details] Patch Clearing flags on attachment: 127390 Committed r107951: <http://trac.webkit.org/changeset/107951>
WebKit Review Bot
Comment 5 2012-02-16 09:48:26 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.