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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webgl/EXTDisjointTimerQuery.cpp ('k') | Source/modules/webgl/WebGLExtensionName.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/EXTDisjointTimerQuery.idl
diff --git a/Source/modules/webgl/EXTDisjointTimerQuery.idl b/Source/modules/webgl/EXTDisjointTimerQuery.idl
new file mode 100644
index 0000000000000000000000000000000000000000..337c52d4290deecc5e4aceb9881ec1ea6c20c629
--- /dev/null
+++ b/Source/modules/webgl/EXTDisjointTimerQuery.idl
@@ -0,0 +1,30 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+typedef unsigned long long GLuint64EXT;
+
+[
+ DoNotCheckConstants,
+ NoInterfaceObject,
+ TypeChecking=Interface,
+ GarbageCollected,
+ SetWrapperReferenceFrom=canvas,
+] interface EXTDisjointTimerQuery {
+ const GLenum QUERY_COUNTER_BITS_EXT = 0x8864;
+ const GLenum CURRENT_QUERY_EXT = 0x8865;
+ const GLenum QUERY_RESULT_EXT = 0x8866;
+ const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867;
+ const GLenum TIME_ELAPSED_EXT = 0x88BF;
+ const GLenum TIMESTAMP_EXT = 0x8E28;
+ const GLenum GPU_DISJOINT_EXT = 0x8FBB;
+
+ WebGLTimerQueryEXT createQueryEXT();
+ void deleteQueryEXT([Default=Undefined] WebGLTimerQueryEXT? query);
+ boolean isQueryEXT([Default=Undefined] WebGLTimerQueryEXT? query);
+ void beginQueryEXT(GLenum target, [Default=Undefined] WebGLTimerQueryEXT? query);
+ void endQueryEXT(GLenum target);
+ void queryCounterEXT([Default=Undefined] WebGLTimerQueryEXT? query, GLenum target);
+ [CallWith=ScriptState] any getQueryEXT(GLenum target, GLenum pname);
+ [CallWith=ScriptState] any getQueryObjectEXT([Default=Undefined] WebGLTimerQueryEXT? query, GLenum pname);
+};
« 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