Hi Joseph,

On Thu, May 5, 2011 at 8:35 AM, Joseph Tsai <[email protected]> wrote:
> Digging in sources, I found that QtWebKit's port would query available
> OpenGL functions by GraphicsContext3DInternal::getProcAddress() from
> DLL (in WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp). Current
> implementation is that: If certain OpenGL function is not available,
> the WebGL feature is disabled (in the constructor of class
> GraphicsContext3DInternal). For example, glBlendEquation() is not
> supported in my Windows XP platform, although I don't need this
> function, WebGL is still disabled in QtWebKit.

You probably mean glBlendEquationSeparate() (possibly with EXT or ARB)
right? glBlendEquation() is supported by practically all OpenGL implementations.

> WebGL for QtWebKit does not support partial set of OpenGL functions,
> this implementation is different from Chromium's port.
> (Chromium can run WebGL under my Windows XP)

This is bit problematic. WebGL 1.0 standard requires certain set of functions
to be available. So allowing to initialize would not be compatible with the
standard.

BR, Jarkko
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to