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..811f0a138463cda4ac06186173d0d78ec46ec99c 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,23 @@ error::Error GLES2DecoderPassthroughImpl:: |
return error::kNoError; |
} |
+error::Error GLES2DecoderPassthroughImpl::HandleOverlayPromotionHintCHROMIUM( |
+ uint32_t immediate_data_size, |
+ const volatile void* cmd_data) { |
+ const volatile gles2::cmds::OverlayPromotionHintCHROMIUM& c = |
+ *static_cast<const volatile gles2::cmds::OverlayPromotionHintCHROMIUM*>( |
+ 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 = DoOverlayPromotionHintCHROMIUM(texture, promotion_hint, |
+ display_x, display_y); |
+ if (error != error::kNoError) { |
+ return error; |
+ } |
+ return error::kNoError; |
+} |
+ |
} // namespace gles2 |
} // namespace gpu |