Index: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
index cc4a9fd180b9a4a783a85065499316850aa18c67..b6f67aebe416fb05392a50245db8f0907707df66 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
@@ -5128,6 +5128,20 @@ error::Error GLES2DecoderImpl::HandleOverlayPromotionHintCHROMIUM( |
return error::kNoError; |
} |
+error::Error GLES2DecoderImpl::HandleSetDrawRectangleCHROMIUM( |
+ uint32_t immediate_data_size, |
+ const volatile void* cmd_data) { |
+ const volatile gles2::cmds::SetDrawRectangleCHROMIUM& c = |
+ *static_cast<const volatile gles2::cmds::SetDrawRectangleCHROMIUM*>( |
+ 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); |
+ DoSetDrawRectangleCHROMIUM(x, y, width, height); |
+ return error::kNoError; |
+} |
+ |
bool GLES2DecoderImpl::SetCapabilityState(GLenum cap, bool enabled) { |
switch (cap) { |
case GL_BLEND: |