| // Copyright 2020 The Chromium Authors | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| // https://gpuweb.github.io/gpuweb/ | |
| [ | |
| Exposed=(Window, Worker), | |
| SecureContext | |
| ] interface GPUQuerySet { | |
| void destroy(); | |
| readonly attribute GPUQueryType type; | |
| readonly attribute GPUSize32 count; | |
| }; | |
| GPUQuerySet includes GPUObjectBase; |