WebGL2 doesn't support EXT_disjoint_timer_query
Reported by
efredric...@gmail.com,
Mar 6 2017
|
||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
Steps to reproduce the problem:
1. Enable WebGL Draft Extensions in chrome://flags, or with --enable-webgl-draft-extensions, (or don't; it won't help, though it does with WebGL v1 contexts)
2. Enter in the console:
document.createElement("canvas").getContext("webg2").getExtension('EXT_disjoint_timer_query')
3. Return value is null
What is the expected behavior?
The returned value should be an instance of an EXTDisjointTimeQuery, as it is if you change "webgl2" to "webgl".
What went wrong?
WebGL2 contexts do not appear to support this extension
Did this work before? No
Does this work in other browsers? N/A
Chrome version: 56.0.2924.87 Channel: stable
OS Version: OS X 10.12.2
Flash Version: Shockwave Flash 24.0 r0
This extension is useful for performance tuning WebGL projects.
,
Mar 6 2017
It was necessary to create a WebGL 2.0-specific version of this extension in order to reuse the WebGLQuery data type that's now in the core spec. See https://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query_webgl2/ .
,
Mar 6 2017
Thank you. I was aware of EXT_disjoint_timer_query_webgl2 but had misunderstood its use. |
||
►
Sign in to add a comment |
||
Comment 1 by zmo@chromium.org
, Mar 6 2017Labels: -OS-Mac OS-All
Status: Available (was: Unconfirmed)