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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 9 01:14:30 PDT 2010


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





--- Comment #1 from Jarkko Sakkinen <jarkko.j.sakkinen at gmail.com>  2010-04-09 01:14:30 PST ---
This I attend to solve this issue. Basic idea is that every document instance
needs pointer to the "main" GL context.

Common:
- FrameLoaderClientQt: add pointer for QGLContext of either graphics engine or
QGLWidget viewport.
- Frame: In costructor grab pointer of QGLContext from FrameLoaderClientQt and
store.
- Document: In costructor grab pointer of QGLContext from Frame and store.
- HTMLCanvasElement gets QGLContext from document and forwards it to
GraphicsContext3D through WebGLRenderingContext.

QGLWidget: Easy, ask context pointer from the widget.
OpenGL graphicssystem: QPixmap painter creation actives the associated GL
context.

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