diff options
Diffstat (limited to 'components/script/dom/webidls/GPUQuerySet.webidl')
-rw-r--r-- | components/script/dom/webidls/GPUQuerySet.webidl | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/components/script/dom/webidls/GPUQuerySet.webidl b/components/script/dom/webidls/GPUQuerySet.webidl deleted file mode 100644 index 12275263c02..00000000000 --- a/components/script/dom/webidls/GPUQuerySet.webidl +++ /dev/null @@ -1,30 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ - -// https://gpuweb.github.io/gpuweb/#gpuqueryset -[Exposed=(Window, DedicatedWorker), Serializable, Pref="dom.webgpu.enabled"] -interface GPUQuerySet { - undefined destroy(); -}; -GPUQuerySet includes GPUObjectBase; - -dictionary GPUQuerySetDescriptor : GPUObjectDescriptorBase { - required GPUQueryType type; - required GPUSize32 count; - sequence<GPUPipelineStatisticName> pipelineStatistics = []; -}; - -enum GPUPipelineStatisticName { - "vertex-shader-invocations", - "clipper-invocations", - "clipper-primitives-out", - "fragment-shader-invocations", - "compute-shader-invocations" -}; - -enum GPUQueryType { - "occlusion", - "pipeline-statistics", - "timestamp" -}; |