Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc |
index 6f3935fa187b1465cba240030dd98a714faa14a9..3e595c19d633e7dc933f8d4414985961e3153deb 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc |
@@ -4130,5 +4130,25 @@ error::Error GLES2DecoderPassthroughImpl:: |
return error::kNoError; |
} |
+error::Error |
+GLES2DecoderPassthroughImpl::HandleSendOverlayPromotionHintCHROMIUM( |
+ uint32_t immediate_data_size, |
+ const volatile void* cmd_data) { |
+ const volatile gles2::cmds::SendOverlayPromotionHintCHROMIUM& c = |
+ *static_cast< |
+ const volatile gles2::cmds::SendOverlayPromotionHintCHROMIUM*>( |
+ cmd_data); |
+ GLuint texture = c.texture; |
+ GLboolean promotion_hint = static_cast<GLboolean>(c.promotion_hint); |
+ GLint display_x = static_cast<GLint>(c.display_x); |
+ GLint display_y = static_cast<GLint>(c.display_y); |
+ error::Error error = DoSendOverlayPromotionHintCHROMIUM( |
+ texture, promotion_hint, display_x, display_y); |
+ if (error != error::kNoError) { |
+ return error; |
+ } |
+ return error::kNoError; |
+} |
+ |
} // namespace gles2 |
} // namespace gpu |