OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 typedef unsigned long long GLuint64EXT; |
| 6 |
| 7 [ |
| 8 DoNotCheckConstants, |
| 9 NoInterfaceObject, |
| 10 GarbageCollected, |
| 11 SetWrapperReferenceFrom=canvas, |
| 12 ] interface EXTDisjointTimerQuery { |
| 13 const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; |
| 14 const GLenum CURRENT_QUERY_EXT = 0x8865; |
| 15 const GLenum QUERY_RESULT_EXT = 0x8866; |
| 16 const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867; |
| 17 const GLenum TIME_ELAPSED_EXT = 0x88BF; |
| 18 const GLenum TIMESTAMP_EXT = 0x8E28; |
| 19 const GLenum GPU_DISJOINT_EXT = 0x8FBB; |
| 20 |
| 21 WebGLTimerQueryEXT createQueryEXT(); |
| 22 void deleteQueryEXT([Default=Undefined] WebGLTimerQueryEXT? query); |
| 23 boolean isQueryEXT([Default=Undefined] WebGLTimerQueryEXT? query); |
| 24 void beginQueryEXT(GLenum target, [Default=Undefined] WebGLTimerQueryEXT? qu
ery); |
| 25 void endQueryEXT(GLenum target); |
| 26 void queryCounterEXT([Default=Undefined] WebGLTimerQueryEXT? query, GLenum t
arget); |
| 27 [CallWith=ScriptState] any getQueryEXT(GLenum target, GLenum pname); |
| 28 [CallWith=ScriptState] any getQueryObjectEXT([Default=Undefined] WebGLTimerQ
ueryEXT? query, GLenum pname); |
| 29 }; |
OLD | NEW |