OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_we
bgl2/ |
| 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 EXTDisjointTimerQueryWebGL2 { | 13 ] interface EXTDisjointTimerQueryWebGL2 { |
12 const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; | 14 const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; |
13 const GLenum TIME_ELAPSED_EXT = 0x88BF; | 15 const GLenum TIME_ELAPSED_EXT = 0x88BF; |
14 const GLenum TIMESTAMP_EXT = 0x8E28; | 16 const GLenum TIMESTAMP_EXT = 0x8E28; |
15 const GLenum GPU_DISJOINT_EXT = 0x8FBB; | 17 const GLenum GPU_DISJOINT_EXT = 0x8FBB; |
16 void queryCounterEXT(WebGLQuery query, GLenum target); | 18 void queryCounterEXT(WebGLQuery query, GLenum target); |
17 }; | 19 }; |
OLD | NEW |