[Webkit-unassigned] [Bug 43210] Open GL ES 2 backend for canvas 2d

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 29 16:51:06 PDT 2010


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





--- Comment #8 from James Robinson <jamesr at chromium.org>  2010-07-29 16:51:06 PST ---
GraphicsContext3D is tightly coupled with WebGL and it seems odd to make a canvas 2d backend depend on WebGL.  Some ports (perhaps mobile) may want to use a GL-accelerated canvas but not compile WebGL in at all.  WebGL is very close to GL ES 2, so switching between the two is not very difficult in terms of amount of code, but I think it's a slight layering violation.

Coding to OpenGL ES 2.0 will currently work without any changes or extra glue needed on Chromium on all platforms and on ANGLE.  To work on desktop OpenGL everywhere each port has to have a glue header with lines like this:

#define glBindFramebuffer glBindFramebufferEXT

guarded by the appropriate #ifdefs.

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