GPU frame timing on the Cesium renderer, where timer queries exist

With EXT_disjoint_timer_query_webgl2 the Cesium renderer lists gpuTiming:
while frame signals have listeners, each drawn frame is timed from preRender
to postRender and a signal carries gpuMs of the newest timing back (a
disjoint one is dropped); queries are reused and let go on dispose. Without
the extension it answers 'none', as before. The new conformance check
quality.signals.gpuTiming pins both; the stub's timed frames carry 0 ms.
This commit is contained in:
Sameh Khamis committed 2026-11-11 16:00:37 -08:00
1 parent 8122199887
commit c7bb08bfb4
7 files changed
+206 -7

No files matched your search

+1
View File
@@ -297,6 +297,7 @@ export function createStubRenderer(options = {}) {
for (const waiter of onceWaiters.splice(0)) waiter();
const signals = {
cpuMs: 0,
...(capabilities.has('gpuTiming') ? { gpuMs: 0 } : {}),
pixelRatio: qualitySettings.pixelRatio || 1,
width: viewport.width,
height: viewport.height,