[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 13:58:37 PDT 2011


--- Comment #3 from Nat Duca <nduca at chromium.org>  2011-11-03 13:58:37 PST ---
(From update of attachment 113553)
View in context: https://bugs.webkit.org/attachment.cgi?id=113553&action=review

Unofficial lgtm

> 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
 return true
  return false

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