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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 2 15:08:27 PDT 2010


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





--- Comment #14 from Chris Marrin <cmarrin at apple.com>  2010-08-02 15:08:26 PST ---
(In reply to comment #9)
> Another (possibly better) option would be to refactor the WebGL specific stuff out of GraphicsContext3D and then just use GraphicsContext3D everywhere.  Currently there's some things in GraphicsContext3D (like defensive input validation) that wouldn't be as useful for a canvas 2d backend.  I think the refactor will be a bit of work.

It would  be reasonable to create a WebGLGraphicsContext which does all the extra checks (either as a container class or a subclass) and then remove them from GraphicsContext3D. But I don't think that needs to be done now since it's just an optimization. And as kbr says it would be best if we held off for a while on these kind of changes to GraphicsContext3D.

The real question is whether or not any API changes are needed to support the needs of a Canvas backend. I hope not since GraphicsContext3D is nothing more than an OpenGL ES 2.0 API with the GL "objects" replaces by actual C++ objects.

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