| 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 DependentLifetime, |
| 8 DoNotCheckConstants, | 9 DoNotCheckConstants, |
| 9 NoInterfaceObject, | 10 NoInterfaceObject, |
| 10 SetWrapperReferenceFrom=canvas, | |
| 11 ] interface EXTDisjointTimerQuery { | 11 ] interface EXTDisjointTimerQuery { |
| 12 const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; | 12 const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; |
| 13 const GLenum CURRENT_QUERY_EXT = 0x8865; | 13 const GLenum CURRENT_QUERY_EXT = 0x8865; |
| 14 const GLenum QUERY_RESULT_EXT = 0x8866; | 14 const GLenum QUERY_RESULT_EXT = 0x8866; |
| 15 const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867; | 15 const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867; |
| 16 const GLenum TIME_ELAPSED_EXT = 0x88BF; | 16 const GLenum TIME_ELAPSED_EXT = 0x88BF; |
| 17 const GLenum TIMESTAMP_EXT = 0x8E28; | 17 const GLenum TIMESTAMP_EXT = 0x8E28; |
| 18 const GLenum GPU_DISJOINT_EXT = 0x8FBB; | 18 const GLenum GPU_DISJOINT_EXT = 0x8FBB; |
| 19 | 19 |
| 20 WebGLTimerQueryEXT createQueryEXT(); | 20 WebGLTimerQueryEXT createQueryEXT(); |
| 21 void deleteQueryEXT(WebGLTimerQueryEXT? query); | 21 void deleteQueryEXT(WebGLTimerQueryEXT? query); |
| 22 boolean isQueryEXT(WebGLTimerQueryEXT? query); | 22 boolean isQueryEXT(WebGLTimerQueryEXT? query); |
| 23 void beginQueryEXT(GLenum target, WebGLTimerQueryEXT query); | 23 void beginQueryEXT(GLenum target, WebGLTimerQueryEXT query); |
| 24 void endQueryEXT(GLenum target); | 24 void endQueryEXT(GLenum target); |
| 25 void queryCounterEXT(WebGLTimerQueryEXT query, GLenum target); | 25 void queryCounterEXT(WebGLTimerQueryEXT query, GLenum target); |
| 26 [CallWith=ScriptState] any getQueryEXT(GLenum target, GLenum pname); | 26 [CallWith=ScriptState] any getQueryEXT(GLenum target, GLenum pname); |
| 27 [CallWith=ScriptState] any getQueryObjectEXT(WebGLTimerQueryEXT query, GLenu
m pname); | 27 [CallWith=ScriptState] any getQueryObjectEXT(WebGLTimerQueryEXT query, GLenu
m pname); |
| 28 }; | 28 }; |
| OLD | NEW |