OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 typedef unsigned long long GLuint64EXT; | 5 typedef unsigned long long GLuint64EXT; |
6 | 6 |
7 [ | 7 [ |
8 DoNotCheckConstants, | 8 DoNotCheckConstants, |
9 NoInterfaceObject, | 9 NoInterfaceObject, |
10 GarbageCollected, | |
11 SetWrapperReferenceFrom=canvas, | 10 SetWrapperReferenceFrom=canvas, |
12 ] interface EXTDisjointTimerQuery { | 11 ] interface EXTDisjointTimerQuery { |
13 const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; | 12 const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; |
14 const GLenum CURRENT_QUERY_EXT = 0x8865; | 13 const GLenum CURRENT_QUERY_EXT = 0x8865; |
15 const GLenum QUERY_RESULT_EXT = 0x8866; | 14 const GLenum QUERY_RESULT_EXT = 0x8866; |
16 const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867; | 15 const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867; |
17 const GLenum TIME_ELAPSED_EXT = 0x88BF; | 16 const GLenum TIME_ELAPSED_EXT = 0x88BF; |
18 const GLenum TIMESTAMP_EXT = 0x8E28; | 17 const GLenum TIMESTAMP_EXT = 0x8E28; |
19 const GLenum GPU_DISJOINT_EXT = 0x8FBB; | 18 const GLenum GPU_DISJOINT_EXT = 0x8FBB; |
20 | 19 |
21 WebGLTimerQueryEXT createQueryEXT(); | 20 WebGLTimerQueryEXT createQueryEXT(); |
22 void deleteQueryEXT([Default=Undefined] WebGLTimerQueryEXT? query); | 21 void deleteQueryEXT([Default=Undefined] WebGLTimerQueryEXT? query); |
23 boolean isQueryEXT([Default=Undefined] WebGLTimerQueryEXT? query); | 22 boolean isQueryEXT([Default=Undefined] WebGLTimerQueryEXT? query); |
24 void beginQueryEXT(GLenum target, [Default=Undefined] WebGLTimerQueryEXT? qu
ery); | 23 void beginQueryEXT(GLenum target, [Default=Undefined] WebGLTimerQueryEXT? qu
ery); |
25 void endQueryEXT(GLenum target); | 24 void endQueryEXT(GLenum target); |
26 void queryCounterEXT([Default=Undefined] WebGLTimerQueryEXT? query, GLenum t
arget); | 25 void queryCounterEXT([Default=Undefined] WebGLTimerQueryEXT? query, GLenum t
arget); |
27 [CallWith=ScriptState] any getQueryEXT(GLenum target, GLenum pname); | 26 [CallWith=ScriptState] any getQueryEXT(GLenum target, GLenum pname); |
28 [CallWith=ScriptState] any getQueryObjectEXT([Default=Undefined] WebGLTimerQ
ueryEXT? query, GLenum pname); | 27 [CallWith=ScriptState] any getQueryObjectEXT([Default=Undefined] WebGLTimerQ
ueryEXT? query, GLenum pname); |
29 }; | 28 }; |
OLD | NEW |