| Index: gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| index 3c7e80dee11fe43282f0f601788203f2302a0604..ee51a536e77b1668f7da82939a412e4e8e8ad538 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| @@ -3075,6 +3075,25 @@ void GLES2Implementation::BindVertexArrayOES(GLuint array) {
|
| CheckGLError();
|
| }
|
|
|
| +void GLES2Implementation::FlushMappedBufferRange(GLenum target,
|
| + GLintptr offset,
|
| + GLsizeiptr size) {
|
| + GPU_CLIENT_SINGLE_THREAD_CHECK();
|
| + GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glFlushMappedBufferRange("
|
| + << GLES2Util::GetStringBufferTarget(target) << ", "
|
| + << offset << ", " << size << ")");
|
| + if (offset < 0) {
|
| + SetGLError(GL_INVALID_VALUE, "glFlushMappedBufferRange", "offset < 0");
|
| + return;
|
| + }
|
| + if (size < 0) {
|
| + SetGLError(GL_INVALID_VALUE, "glFlushMappedBufferRange", "size < 0");
|
| + return;
|
| + }
|
| + helper_->FlushMappedBufferRange(target, offset, size);
|
| + CheckGLError();
|
| +}
|
| +
|
| void GLES2Implementation::DescheduleUntilFinishedCHROMIUM() {
|
| GPU_CLIENT_SINGLE_THREAD_CHECK();
|
| GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDescheduleUntilFinishedCHROMIUM("
|
|
|