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 1e30865884e393f5e5ef3c0016c19cf83426afdf..765beaeba9fa8c5d91f82079a2b2c0fd33e9ebfa 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
@@ -5125,6 +5125,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: |