Chromium Code Reviews| Index: gpu/command_buffer/service/gles2_cmd_decoder.h |
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h |
| index 5c8b73561cb9544edcc239bce4efa018fef623e9..eddd7fe2ce76619344a5ee560956a5d9427f56d3 100644 |
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.h |
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.h |
| @@ -89,6 +89,10 @@ class GLES2Decoder : public CommonDecoder { |
| // Gets the associated ContextGroup |
| virtual ContextGroup* GetContextGroup() = 0; |
| + // Sets a callback which is called when a glResizeCHROMIUM command |
| + // is processed. |
| + virtual void SetResizeCallback(Callback1<gfx::Size>::Type* callback) = 0; |
|
Ken Russell (switch to Gerrit)
2010/11/23 22:01:17
You're going to need to modify gles2_cmd_decoder_m
jonathan.backer
2010/11/24 14:14:45
Done.
|
| + |
| // Sets a callback which is called when a SwapBuffers command is processed. |
| virtual void SetSwapBuffersCallback(Callback0::Type* callback) = 0; |