| Index: modules/webgl/EXTDisjointTimerQuery.idl
|
| diff --git a/modules/webgl/EXTDisjointTimerQuery.idl b/modules/webgl/EXTDisjointTimerQuery.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6da8e5bb44b95cda50a5d9b7d84708fd661f054e
|
| --- /dev/null
|
| +++ b/modules/webgl/EXTDisjointTimerQuery.idl
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +typedef unsigned long long GLuint64EXT;
|
| +
|
| +[
|
| + DoNotCheckConstants,
|
| + NoInterfaceObject,
|
| + GarbageCollected,
|
| + SetWrapperReferenceFrom=canvas,
|
| +] interface EXTDisjointTimerQuery {
|
| + const GLenum QUERY_COUNTER_BITS_EXT = 0x8864;
|
| + const GLenum CURRENT_QUERY_EXT = 0x8865;
|
| + const GLenum QUERY_RESULT_EXT = 0x8866;
|
| + const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867;
|
| + const GLenum TIME_ELAPSED_EXT = 0x88BF;
|
| + const GLenum TIMESTAMP_EXT = 0x8E28;
|
| + const GLenum GPU_DISJOINT_EXT = 0x8FBB;
|
| +
|
| + WebGLTimerQueryEXT createQueryEXT();
|
| + void deleteQueryEXT([Default=Undefined] WebGLTimerQueryEXT? query);
|
| + boolean isQueryEXT([Default=Undefined] WebGLTimerQueryEXT? query);
|
| + void beginQueryEXT(GLenum target, [Default=Undefined] WebGLTimerQueryEXT? query);
|
| + void endQueryEXT(GLenum target);
|
| + void queryCounterEXT([Default=Undefined] WebGLTimerQueryEXT? query, GLenum target);
|
| + [CallWith=ScriptState] any getQueryEXT(GLenum target, GLenum pname);
|
| + [CallWith=ScriptState] any getQueryObjectEXT([Default=Undefined] WebGLTimerQueryEXT? query, GLenum pname);
|
| +};
|
|
|