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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Issue 9693045: WebKit support for EXT_occlusion_query. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: initialize GL object Created 8 years, 9 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 | « no previous file | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index 31a5c81ffcb8409aff3777df119e129fde743276..ec93c324ae69cb431076a29befc773d00dcb33f1 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -481,6 +481,16 @@ class WebGraphicsContext3DCommandBufferImpl
WGC3Denum target, WGC3Dint levels, WGC3Duint internalformat,
WGC3Dint width, WGC3Dint height);
+ virtual WebGLId createQueryEXT();
+ virtual void deleteQueryEXT(WebGLId query);
+ virtual WGC3Dboolean isQueryEXT(WGC3Duint query);
+ virtual void beginQueryEXT(WGC3Denum target, WebGLId query);
+ virtual void endQueryEXT(WGC3Denum target);
+ virtual void getQueryivEXT(
+ WGC3Denum target, WGC3Denum pname, WGC3Dint* params);
+ virtual void getQueryObjectuivEXT(
+ WebGLId query, WGC3Denum pname, WGC3Duint* params);
+
ContentGLContext* content_gl_context() const { return context_; }
protected:
« no previous file with comments | « no previous file | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698