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

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_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
Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
index fcce88b9e3b0a21c570e5f5922d1a2e7528ccbcf..ea69865d6918060f21c1e9788526c7929769e8e0 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
+++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
@@ -461,6 +461,16 @@ class WebGraphicsContext3DInProcessCommandBufferImpl
WGC3Denum target, WGC3Dint levels, WGC3Duint internalformat,
WGC3Dint width, WGC3Dint height);
+ virtual WebGLId createQueryEXT();
+ virtual void deleteQueryEXT(WebGLId query);
+ virtual WGC3Dboolean isQueryEXT(WebGLId 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);
+
protected:
#if WEBKIT_USING_SKIA
virtual GrGLInterface* onCreateGrGLInterface();

Powered by Google App Engine
This is Rietveld 408576698