pex-gl / pex-context

Modern WebGL state wrapper for PEX: allocate GPU resources (textures, buffers), setup state pipelines and passes, and combine them into commands.
http://pex-gl.github.io/pex-context/
MIT License
160 stars 12 forks source link

ctx.query is not working #72

Closed vorg closed 5 years ago

vorg commented 5 years ago

According to this entry in Babylon

GPU timer require a special extension (EXT_DISJOINT_TIMER_QUERY) in order to work. This extension has been disabled due to Spectre and Meltdown on all major browsers. This is still possible to use by enabling the flag gfx.webrender.debug.gpu-time-queries on firefox at the moment. This should be re-enabled soon in the browsers.

https://doc.babylonjs.com/how_to/optimizing_your_scene#changing-mesh-culling-strategy

vorg commented 5 years ago

Just posted this for future reference