Chromium Code Reviews| 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: |