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 3c7c4267e86536f7df4566489fed542147f81277..0ad07821cc5a97c0e160ea22eb96378fd03f1f32 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 |
@@ -3875,6 +3875,22 @@ error::Error GLES2DecoderPassthroughImpl::HandleGetMaxValueInBufferCHROMIUM( |
return error::kNoError; |
} |
+error::Error GLES2DecoderPassthroughImpl::HandleFlushMappedBufferRange( |
+ uint32_t immediate_data_size, |
+ const volatile void* cmd_data) { |
+ const volatile gles2::cmds::FlushMappedBufferRange& c = |
+ *static_cast<const volatile gles2::cmds::FlushMappedBufferRange*>( |
+ cmd_data); |
+ GLenum target = static_cast<GLenum>(c.target); |
+ GLintptr offset = static_cast<GLintptr>(c.offset); |
+ GLsizeiptr size = static_cast<GLsizeiptr>(c.size); |
+ error::Error error = DoFlushMappedBufferRange(target, offset, size); |
+ if (error != error::kNoError) { |
+ return error; |
+ } |
+ return error::kNoError; |
+} |
+ |
error::Error GLES2DecoderPassthroughImpl::HandleCopyTextureCHROMIUM( |
uint32_t immediate_data_size, |
const volatile void* cmd_data) { |