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

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

Issue 10829209: Add GL_CHROMIUM_texture_mailbox entrypoints to wgc3d implementations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 1ac84a243d18eea2de904436cae0c44e8b87821d..fd5dbbcc4f7b468503810702854a2342fd069899 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -41,6 +41,7 @@ class GLES2Implementation;
using WebKit::WebGLId;
+using WebKit::WGC3Dbyte;
using WebKit::WGC3Dchar;
using WebKit::WGC3Denum;
using WebKit::WGC3Dboolean;
@@ -247,7 +248,6 @@ class WebGraphicsContext3DCommandBufferImpl
virtual void enableVertexAttribArray(WGC3Duint index);
virtual void finish();
virtual void flush();
- virtual void shallowFlushCHROMIUM();
virtual void framebufferRenderbuffer(WGC3Denum target,
WGC3Denum attachment,
WGC3Denum renderbuffertarget,
@@ -574,6 +574,14 @@ class WebGraphicsContext3DCommandBufferImpl
virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location,
const WGC3Dchar* uniform);
+ virtual void shallowFlushCHROMIUM();
+
+ virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox);
+ virtual void produceTextureCHROMIUM(WGC3Denum target,
+ const WGC3Dbyte* mailbox);
+ virtual void consumeTextureCHROMIUM(WGC3Denum target,
+ const WGC3Dbyte* mailbox);
+
protected:
virtual GrGLInterface* onCreateGrGLInterface();
« 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