diff options
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_decoder.h')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h index 302a355..8da3528 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.h +++ b/gpu/command_buffer/service/gles2_cmd_decoder.h @@ -145,12 +145,18 @@ class GLES2Decoder : public CommonDecoder { // A callback for messages from the decoder. virtual void SetMsgCallback(const MsgCallback& callback) = 0; + static bool IsAngle(); + + // Used for testing only + static void set_testing_force_is_angle(bool force); + protected: GLES2Decoder(); private: bool debug_; bool log_commands_; + static bool testing_force_is_angle_; DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); }; |