| Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc
|
| index cd9ab49481440c05de5a5199a9f0d7dd395e754b..a816afde06a61f6b5cee4255fd243948bffdd7f1 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc
|
| @@ -1459,6 +1459,23 @@ error::Error GLES2DecoderPassthroughImpl::HandleGetTranslatedShaderSourceANGLE(
|
| return error::kNoError;
|
| }
|
|
|
| +error::Error GLES2DecoderPassthroughImpl::HandleSwapBuffersWithDamageCHROMIUM(
|
| + uint32_t immediate_data_size,
|
| + const volatile void* cmd_data) {
|
| + const volatile gles2::cmds::SwapBuffersWithDamageCHROMIUM& c =
|
| + *static_cast<const volatile gles2::cmds::SwapBuffersWithDamageCHROMIUM*>(
|
| + cmd_data);
|
| + GLint x = static_cast<GLint>(c.x);
|
| + GLint y = static_cast<GLint>(c.y);
|
| + GLint width = static_cast<GLint>(c.width);
|
| + GLint height = static_cast<GLint>(c.height);
|
| + error::Error error = DoSwapBuffersWithDamageCHROMIUM(x, y, width, height);
|
| + if (error != error::kNoError) {
|
| + return error;
|
| + }
|
| + return error::kNoError;
|
| +}
|
| +
|
| error::Error GLES2DecoderPassthroughImpl::HandlePostSubBufferCHROMIUM(
|
| uint32_t immediate_data_size,
|
| const volatile void* cmd_data) {
|
|
|