[Public WebGL] Proposal: remove TIMESTAMP_EXT functionality from WebGL's EXT_disjoint_timer_query wrapper

Kenneth Russell [email protected]
Tue Jun 7 18:14:01 PDT 2016


WebGL community,

In this discussion on webgl-dev-list:
https://groups.google.com/d/topic/webgl-dev-list/Q5tYioJqBmw/discussion

Developers have started using WebGL's wrapper for the
EXT_disjoint_timer_query extension and have found that the TIMESTAMP_EXT
queries aren't working well. Specifically, they're not implementable on
either Windows or Mac OS X. Consequently, in Chrome, they return 0 on all
platforms, and Chrome reports 0 bits for the QUERY_COUNTER_BITS_EXT query
against timestamps.

Elapsed time queries are portable, and are the recommended way to gather
timing information on the GPU.

It was suggested to simply remove support for timestamp queries. In
concrete terms, this would mean:

 - Removing the TIMESTAMP_EXT enum, and its effects on getParameter() and
getQueryEXT().
 - Removing the queryCounterEXT method.

Any thoughts on this proposal? This extension was only introduced recently
and is probably not widely used yet, so the risk of breaking content is low.

Thanks,

-Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://khronos.org/pipermail/public_webgl_khronos.org/attachments/20160607/88e86564/attachment.html>


More information about the public_webgl mailing list