Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.idl

Issue 1873323002: Have bindings layer assume and insist that all interface types are GCed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698