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

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

Issue 1325453007: Added support for EXTDisjointTimerQuery on the Blink side. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: GL_INVALID_ENUM when timer query not enabled for GetParameter, use context3d for deletion Created 5 years, 3 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
(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 TypeChecking=Interface,
11 GarbageCollected,
12 SetWrapperReferenceFrom=canvas,
13 ] interface EXTDisjointTimerQuery {
14 const GLenum QUERY_COUNTER_BITS_EXT = 0x8864;
15 const GLenum CURRENT_QUERY_EXT = 0x8865;
16 const GLenum QUERY_RESULT_EXT = 0x8866;
17 const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867;
18 const GLenum TIME_ELAPSED_EXT = 0x88BF;
19 const GLenum TIMESTAMP_EXT = 0x8E28;
20 const GLenum GPU_DISJOINT_EXT = 0x8FBB;
21
22 WebGLTimerQueryEXT createQueryEXT();
23 void deleteQueryEXT([Default=Undefined] WebGLTimerQueryEXT? query);
24 boolean isQueryEXT([Default=Undefined] WebGLTimerQueryEXT? query);
25 void beginQueryEXT(GLenum target, [Default=Undefined] WebGLTimerQueryEXT? qu ery);
26 void endQueryEXT(GLenum target);
27 void queryCounterEXT([Default=Undefined] WebGLTimerQueryEXT? query, GLenum t arget);
28 [CallWith=ScriptState] any getQueryEXT(GLenum target, GLenum pname);
29 [CallWith=ScriptState] any getQueryObjectEXT([Default=Undefined] WebGLTimerQ ueryEXT? query, GLenum pname);
30 };
OLDNEW
« no previous file with comments | « Source/modules/webgl/EXTDisjointTimerQuery.cpp ('k') | Source/modules/webgl/WebGLExtensionName.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698