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

Unified Diff: gpu/command_buffer/service/common_decoder.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/common_decoder.h
diff --git a/gpu/command_buffer/service/common_decoder.h b/gpu/command_buffer/service/common_decoder.h
index 03002c8b06f2baa87f072186f6d063054f38b014..5b588e2064d97e63cfb19ca30fce2127c0a946c4 100644
--- a/gpu/command_buffer/service/common_decoder.h
+++ b/gpu/command_buffer/service/common_decoder.h
@@ -14,6 +14,10 @@
#include "gpu/command_buffer/service/cmd_parser.h"
#include "gpu/gpu_export.h"
+namespace gfx {
+class GLImage;
+}
+
namespace gpu {
class CommandBufferEngine;
@@ -134,6 +138,9 @@ class GPU_EXPORT CommonDecoder : NON_EXPORTED_BASE(public AsyncAPIInterface) {
// Get the actual shared memory buffer.
Buffer GetSharedMemoryBuffer(unsigned int shm_id);
+ // Gets an image. Returns NULL if the image does not exist.
+ gfx::GLImage* GetImage(int32 image_id);
piman 2013/08/01 21:19:30 nit: I guess we try to keep CommonDecoder GL-agnos
reveman 2013/08/08 23:19:00 Removed this.
+
protected:
// Executes a common command.
// Parameters:

Powered by Google App Engine
This is Rietveld 408576698