[Webkit-unassigned] [Bug 31517] [GTK] WebGL support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 4 07:23:29 PDT 2011


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


Gustavo Noronha (kov) <gns at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #87394|review?                     |review+
               Flag|                            |




--- Comment #18 from Gustavo Noronha (kov) <gns at gnome.org>  2011-04-04 07:23:29 PST ---
(From update of attachment 87394)
View in context: https://bugs.webkit.org/attachment.cgi?id=87394&action=review

It looks good to me. Like I've noted before I am no expert in OpenGL, but given this has been looked over by people who are, and it's essentially glue code I'll say go ahead after fixing/clarifying my comments =)

> Source/WebCore/platform/graphics/gtk/GraphicsContext3DInternal.cpp:60
> +        addedAtExitHandler = false;

Looks like you want true here? I guess this raises the pressure on us to find a cross-platform way of cleaning up on exit heh. Didn't we have something added for the icon database at some point?

> Source/WebCore/platform/graphics/gtk/GraphicsContext3DInternal.cpp:102
> +    static bool initialized = false;
> +    static bool success = true;
> +    if (!initialized) {
> +        success = initializeOpenGLShims();
> +        initialized = true;
> +    }
> +    if (!success)
> +        return 0;

Just to make sure I understand this - if we fail to initialize the shims we're essentially out of luck and won't be able to support webgl, and there's no point in trying to initialize them again, so we cache the failure, that sounds good yeah.

> Source/WebKit/gtk/webkit/webkitwebsettings.cpp:924
> +    * Since: 1.3.7

Needs to be 1.3.14, or would it be 1.3.15? =)

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