WEBGL_debug_renderer_info zmo@chromium.org Members of the WebGL working group 6

WebGL implementations might mask the RENDERER and VENDOR strings of the underlying graphics driver for privacy reasons. This extension exposes new tokens to query this information in a guaranteed manner for debugging purposes.

[NoInterfaceObject] interface WEBGL_debug_renderer_info { const GLenum UNMASKED_VENDOR_WEBGL = 0x9245; const GLenum UNMASKED_RENDERER_WEBGL = 0x9246; }; Two new enums UNMASKED_VENDOR_WEBGL and UNMASKED_RENDERER_WEBGL are accepted by pname parameter in getParameter().
pnamereturned type
UNMASKED_VENDOR_WEBGLDOMString
UNMASKED_RENDERER_WEBGLDOMString

The following pname arguments return a string describing some aspect of the underlying graphics driver.
UNMASKED_VENDOR_WEBGLReturn the VENDOR string of the underlying graphics driver.
UNMASKED_RENDERER_WEBGLReturn the RENDERER string of the underlying graphics driver.

1) What enum values should be used for UNMASKED_VENDOR_WEBGL and UNMASKED_RENDERER_WEBGL?

2) Should this extension be made available on ordinary web pages?

Initial revision. Assigned enums; assigned webgl extension number. Clarify the meaning of "privileged". Fixed mistake where extension still indicated draft status. Removed webgl module per changes to Web IDL spec. Ratified by Khronos Board of Promoters. Added issue on privacy and user agent sniffing considerations, replacing security section. Added NoInterfaceObject extended attribute.