| 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 // https://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query/ |
| 6 |
| 5 typedef unsigned long long GLuint64EXT; | 7 typedef unsigned long long GLuint64EXT; |
| 6 | 8 |
| 7 [ | 9 [ |
| 8 DependentLifetime, | 10 DependentLifetime, |
| 9 DoNotCheckConstants, | 11 DoNotCheckConstants, |
| 10 NoInterfaceObject, | 12 NoInterfaceObject, |
| 11 ] interface EXTDisjointTimerQuery { | 13 ] interface EXTDisjointTimerQuery { |
| 12 const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; | 14 const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; |
| 13 const GLenum CURRENT_QUERY_EXT = 0x8865; | 15 const GLenum CURRENT_QUERY_EXT = 0x8865; |
| 14 const GLenum QUERY_RESULT_EXT = 0x8866; | 16 const GLenum QUERY_RESULT_EXT = 0x8866; |
| 15 const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867; | 17 const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867; |
| 16 const GLenum TIME_ELAPSED_EXT = 0x88BF; | 18 const GLenum TIME_ELAPSED_EXT = 0x88BF; |
| 17 const GLenum TIMESTAMP_EXT = 0x8E28; | 19 const GLenum TIMESTAMP_EXT = 0x8E28; |
| 18 const GLenum GPU_DISJOINT_EXT = 0x8FBB; | 20 const GLenum GPU_DISJOINT_EXT = 0x8FBB; |
| 19 | 21 |
| 20 WebGLTimerQueryEXT createQueryEXT(); | 22 WebGLTimerQueryEXT createQueryEXT(); |
| 21 void deleteQueryEXT(WebGLTimerQueryEXT? query); | 23 void deleteQueryEXT(WebGLTimerQueryEXT? query); |
| 22 boolean isQueryEXT(WebGLTimerQueryEXT? query); | 24 boolean isQueryEXT(WebGLTimerQueryEXT? query); |
| 23 void beginQueryEXT(GLenum target, WebGLTimerQueryEXT query); | 25 void beginQueryEXT(GLenum target, WebGLTimerQueryEXT query); |
| 24 void endQueryEXT(GLenum target); | 26 void endQueryEXT(GLenum target); |
| 25 void queryCounterEXT(WebGLTimerQueryEXT query, GLenum target); | 27 void queryCounterEXT(WebGLTimerQueryEXT query, GLenum target); |
| 26 [CallWith=ScriptState] any getQueryEXT(GLenum target, GLenum pname); | 28 [CallWith=ScriptState] any getQueryEXT(GLenum target, GLenum pname); |
| 27 [CallWith=ScriptState] any getQueryObjectEXT(WebGLTimerQueryEXT query, GLenu
m pname); | 29 [CallWith=ScriptState] any getQueryObjectEXT(WebGLTimerQueryEXT query, GLenu
m pname); |
| 28 }; | 30 }; |
| OLD | NEW |