New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 698614 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
OOO until 2019-01-24
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

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.

 

Comment 1 by zmo@chromium.org, Mar 6 2017

Cc: kbr@chromium.org kainino@chromium.org
Labels: -OS-Mac OS-All
Status: Available (was: Unconfirmed)

Comment 2 by kbr@chromium.org, Mar 6 2017

Owner: kbr@chromium.org
Status: WontFix (was: Available)
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/ .

Thank you. I was aware of EXT_disjoint_timer_query_webgl2 but had misunderstood its use.

Sign in to add a comment