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

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_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
Index: webkit/gpu/webgraphicscontext3d_in_process_impl.h
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_impl.h
index 293dd05699f508127b3e97a0b518f612278dd498..0b248ce0c62c264a5bf49bafb199a091f3b74dfa 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.h
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.h
@@ -24,6 +24,7 @@ class GLSurface;
class GLShareGroup;
}
+using WebKit::WGC3Dbyte;
using WebKit::WGC3Dchar;
using WebKit::WGC3Denum;
using WebKit::WGC3Dboolean;
@@ -482,6 +483,12 @@ class WebGraphicsContext3DInProcessImpl : public WebGraphicsContext3D {
// Only applies to contexts that use the command buffer.
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 | « webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698