[PATCH] specs: Recognize GL_PROGRAM_BINARY_LENGTH

José Fonseca jose.r.fonseca at gmail.com
Thu Oct 10 09:46:29 PDT 2013


Thanks. Pushed.

Jose


On Thu, Oct 10, 2013 at 9:33 AM, Chad Versace
<chad.versace at linux.intel.com>wrote:

> This fixes tracing the WebGL Aquarium demo on Chrome OS. Without the
> fix, the demo window remains black during tracing.
> ---
>  specs/glparams.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/specs/glparams.py b/specs/glparams.py
> index 2a6c38d..aa71a03 100644
> --- a/specs/glparams.py
> +++ b/specs/glparams.py
> @@ -1727,7 +1727,8 @@ parameters = [
>      ("_glGet", F,      16,     "GL_MODELVIEW30_ARB"),  # 0x873E
>      ("_glGet", F,      16,     "GL_MODELVIEW31_ARB"),  # 0x873F
>      ("",       X,      1,      "GL_DOT3_RGB_EXT"),     # 0x8740
> -    ("",       X,      1,      "GL_DOT3_RGBA_EXT"),    # 0x8741
> +    # XXX: GL_DOT3_RGBA_EXT == GL_PROGRAM_BINARY_LENGTH, but you can't
> glGet GL_DOT3_RGBA_EXT
> +    ("glGetProgram",   I,      1,      "GL_PROGRAM_BINARY_LENGTH"),    #
> 0x8741,
>      ("",       X,      1,      "GL_MIRROR_CLAMP_ATI"), # 0x8742
>      ("",       X,      1,      "GL_MIRROR_CLAMP_TO_EDGE_ATI"), # 0x8743
>      ("",       X,      1,      "GL_MODULATE_ADD_ATI"), # 0x8744
> --
> 1.8.3.1
>
> _______________________________________________
> apitrace mailing list
> apitrace at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/apitrace
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20131010/8075461f/attachment.html>


More information about the apitrace mailing list