[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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