[Webkit-unassigned] [Bug 57154] [Qt] Make OpenGL symbol resolver transparent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 12 08:06:48 PDT 2011


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





--- Comment #22 from Andrew Wason <rectalogic at rectalogic.com>  2011-07-12 08:06:48 PST ---
(In reply to comment #18)
> I looked at the OpenGLShims implementation and it is in fact a symbol resolver.
> Code is direct derivative * of code in GraphicsContext3DQt but it is more limited.
> Symbols resolved are taken from global variable. Symbols returned by getProcAddress are
> context dependent. Therefore stable implementation cannot be based on a global variable.


It looks to me like GL function pointers are context *independent* - so we should be able to use cairo/OpenGLShims.cpp/h

"Final ARB-approved version. - Specify that GL function pointers are context independent."
http://www.opengl.org/registry/specs/ARB/get_proc_address.txt

This is good, because it looks like we will also need to use the resolver in opengl/TextureMapperGL.cpp and it doesn't have access to GraphicsContext3D where we are currently storing the proc addresses.

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