| Index: gpu/command_buffer/service/gles2_cmd_decoder_mock.h
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
|
| index 3a1e9a9dd1bff309f78c124a3af9724985edebef..7346d8e632c2c75bfca59a2db3e463efd8d155dc 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
|
| @@ -33,6 +33,11 @@ class MockGLES2Decoder : public GLES2Decoder {
|
| MockGLES2Decoder();
|
| virtual ~MockGLES2Decoder();
|
|
|
| + error::Error FakeDoCommands(unsigned int num_commands,
|
| + const void* buffer,
|
| + int num_entries,
|
| + int* entries_processed);
|
| +
|
| MOCK_METHOD6(Initialize,
|
| bool(const scoped_refptr<gfx::GLSurface>& surface,
|
| const scoped_refptr<gfx::GLContext>& context,
|
| @@ -86,6 +91,11 @@ class MockGLES2Decoder : public GLES2Decoder {
|
| MOCK_METHOD3(DoCommand, error::Error(unsigned int command,
|
| unsigned int arg_count,
|
| const void* cmd_data));
|
| + MOCK_METHOD4(DoCommands,
|
| + error::Error(unsigned int num_commands,
|
| + const void* buffer,
|
| + int num_entries,
|
| + int* entries_processed));
|
| MOCK_METHOD2(GetServiceTextureId, bool(uint32 client_texture_id,
|
| uint32* service_texture_id));
|
| MOCK_METHOD0(GetContextLostReason, error::ContextLostReason());
|
|
|