| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| index a76f793820e886fb8520d23caace4808e171a19b..a7bfc3e636838f397bec337bb0cb007598758678 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -9254,6 +9254,24 @@ error::Error GLES2DecoderImpl::HandleScheduleOverlayPlaneCHROMIUM(
|
| return error::kNoError;
|
| }
|
|
|
| +error::Error GLES2DecoderImpl::HandleScheduleSolidColorOverlayPlaneCHROMIUM(
|
| + uint32 immediate_data_size,
|
| + const void* cmd_data) {
|
| + const gles2::cmds::ScheduleSolidColorOverlayPlaneCHROMIUM& c =
|
| + *static_cast<const gles2::cmds::ScheduleSolidColorOverlayPlaneCHROMIUM*>(
|
| + cmd_data);
|
| + if (!surface_->ScheduleSolidColorOverlayPlane(
|
| + c.plane_z_order,
|
| + gfx::Rect(c.bounds_x, c.bounds_y, c.bounds_width, c.bounds_height),
|
| + c.red, c.green, c.blue, c.alpha)) {
|
| + LOCAL_SET_GL_ERROR(GL_INVALID_OPERATION,
|
| + "glScheduleSolidColorOverlayPlaneCHROMIUM",
|
| + "failed to schedule overlay");
|
| + }
|
| + return error::kNoError;
|
| +}
|
| +
|
| +
|
| error::Error GLES2DecoderImpl::GetAttribLocationHelper(
|
| GLuint client_id, uint32 location_shm_id, uint32 location_shm_offset,
|
| const std::string& name_str) {
|
|
|