[Webkit-unassigned] [Bug 81103] [Texmap] Implement BGRA swizzling detection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 1 15:44:39 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=81103





--- Comment #6 from Viatcheslav Ostapenko <ostap73 at gmail.com>  2013-02-01 15:46:40 PST ---
(From update of attachment 186167)
View in context: https://bugs.webkit.org/attachment.cgi?id=186167&action=review

> Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp:589
> +    return context->getExtensions()->supports("GL_EXT_texture_format_BGRA8888");

It is called so many times. I doubt that swizzling support can change during app execution and would cache result here.
Something like this:

static bool canSwizzle = context->getExtensions()->supports("GL_EXT_texture_format_BGRA8888");
return canSwizzle;

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list