[Webkit-unassigned] [Bug 71502] [chromium] Test for GL_EXT_bgra in addition to GL_EXT_texture_format_BGRA8888/GL_EXT_read_format_bgra for accelerated paining

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 3 16:36:41 PDT 2011


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





--- Comment #5 from Antoine Labour <piman at chromium.org>  2011-11-03 16:36:41 PST ---
(From update of attachment 113553)
View in context: https://bugs.webkit.org/attachment.cgi?id=113553&action=review

>> Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp:118
>> +        if (extensions->supports("GL_EXT_texture_format_BGRA8888"))
> 
> is a cleaner way to write this
> 
> elseif supports->x && supports->y
>   ensureENabled x
>   ensureEnabledY
>  return true
> else
>   return false

Done.

-- 
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