[Webkit-unassigned] [Bug 37070] [Qt] Shared OpenGL context support for WebGL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 9 02:58:42 PDT 2010


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





--- Comment #2 from Jarkko Sakkinen <jarkko.j.sakkinen at gmail.com>  2010-04-09 02:58:42 PST ---
Plan that requires only changes to GraphicsContext3D.

- Add pointer to the WebGLRenderingContext to construction parameters of
GraphicsContext3D.
- In GraphicsContext3D constructor grab pointer through:
 * WebGLRenderingContext::canvas() -> HTMLCanvasElement 
 * HTMLCanvasElement::document() -> Document
 * Document::frameView() -> Widget (FrameView inherits from Widgets)
 * Widget::platformWidget() -> QWebPageClient
 * QWebPageClient::ownerWidget() -> QWidget/QGLWidget

Owner context can then be acquired in GraphicsContext3D. I'll create patch
asap.

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