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 498a9a910b589cf33883f7412d81836f149631cf..59e9bd69ca04b63bdd6ee9e09165a7d34cdbd83a 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.h |
@@ -199,6 +199,16 @@ class GPU_EXPORT GLES2Decoder : public base::SupportsWeakPtr<GLES2Decoder>, |
// Gets the GL error for this context. |
virtual uint32 GetGLError() = 0; |
+ // Sets a GL error. |
+ virtual void SetGLError( |
+ unsigned error, |
+ const char* function_name, |
+ const char* msg) = 0; |
+ virtual void SetGLErrorInvalidEnum( |
+ const char* function_name, |
+ unsigned value, |
+ const char* label) = 0; |
+ |
// A callback for messages from the decoder. |
virtual void SetMsgCallback(const MsgCallback& callback) = 0; |