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

Unified Diff: gpu/command_buffer/service/cmd_buffer_engine.h

Issue 20017005: gpu: Refactor GpuMemoryBuffer framework for multi-process support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include proper internalformat support.[D Created 7 years, 5 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: gpu/command_buffer/service/cmd_buffer_engine.h
diff --git a/gpu/command_buffer/service/cmd_buffer_engine.h b/gpu/command_buffer/service/cmd_buffer_engine.h
index 6aefe82e35e1066ba7d2976beb85dfa2529759fc..b8e837d1916eb59ecee25f1222add1c660f9d65e 100644
--- a/gpu/command_buffer/service/cmd_buffer_engine.h
+++ b/gpu/command_buffer/service/cmd_buffer_engine.h
@@ -11,6 +11,10 @@
#include "base/basictypes.h"
#include "gpu/command_buffer/common/buffer.h"
+namespace gfx {
+class GLImage;
+}
+
namespace gpu {
class CommandBufferEngine {
@@ -38,6 +42,9 @@ class CommandBufferEngine {
// Gets the "get" pointer.
virtual int32 GetGetOffset() = 0;
+ // Gets the image associated with a registered image ID.
+ virtual gfx::GLImage* GetImage(int32 image_id) = 0;
piman 2013/08/01 21:19:30 Same comment here - I think this is exposed at a t
reveman 2013/08/08 23:19:00 Removed it.
+
private:
DISALLOW_COPY_AND_ASSIGN(CommandBufferEngine);
};

Powered by Google App Engine
This is Rietveld 408576698