Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Unified Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 2221173002: Implementing FlushMappedBufferRange in GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: attempt to fix win build Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index a3e11c64805ec86969daeebd2ca819b8cd57c7a6..45432412dd785b2e526cf0e5be2d84b3fe0950eb 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1246,6 +1246,11 @@ void* GL_APIENTRY GLES2MapBufferRange(GLenum target,
GLboolean GL_APIENTRY GLES2UnmapBuffer(GLenum target) {
return gles2::GetGLContext()->UnmapBuffer(target);
}
+void GL_APIENTRY GLES2FlushMappedBufferRange(GLenum target,
+ GLintptr offset,
+ GLsizeiptr size) {
+ gles2::GetGLContext()->FlushMappedBufferRange(target, offset, size);
+}
void* GL_APIENTRY GLES2MapTexSubImage2DCHROMIUM(GLenum target,
GLint level,
GLint xoffset,
@@ -2658,6 +2663,10 @@ extern const NameToFunc g_gles2_function_table[] = {
"glUnmapBuffer", reinterpret_cast<GLES2FunctionPointer>(glUnmapBuffer),
},
{
+ "glFlushMappedBufferRange",
+ reinterpret_cast<GLES2FunctionPointer>(glFlushMappedBufferRange),
+ },
+ {
"glMapTexSubImage2DCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM),
},
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698