[Webkit-unassigned] [Bug 43221] Move WebGL-specific code out of GraphicsContext3D so that G3D can be used as a generic accelerated drawing API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 2 16:59:43 PDT 2010


Chris Marrin <cmarrin at apple.com> changed:

           What    |Removed                     |Added
                 CC|                            |oliver at apple.com

--- Comment #2 from Chris Marrin <cmarrin at apple.com>  2010-08-02 16:59:43 PST ---
Looking at the code, I think there are two issues:

1) ArrayBuffer and friends. These used to be called WebGL...Array, but have since been given more generic names. I think these should just be moved into WebCore/platform.

2) CanvasObject and subclasses. A cursory glance shows that these are not really necessary and the underlying Platform3DObject can be passed instead. So we should leave all these where they are and change the API to GraphicsContext3D to use Platform3DObject.

I see one small issue in that all the create calls in GraphicsContext3D (e.g., createShader()) return an unsigned type. This should be Platform3DObject.

I understand Ken's concerns, but I don't think making these changes now would be destabilizing to WebGL. They are mostly cosmetic.

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