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

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

Issue 2379203002: implement getBufferSubDataAsync prototype (Closed)
Patch Set: factor out common validation code from getBufferSubData/Async 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
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 45432412dd785b2e526cf0e5be2d84b3fe0950eb..934fe97620c497c8503d85086922ab2e5690f234 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1669,6 +1669,12 @@ GLES2ProgramPathFragmentInputGenCHROMIUM(GLuint program,
gles2::GetGLContext()->ProgramPathFragmentInputGenCHROMIUM(
program, location, genMode, components, coeffs);
}
+void* GL_APIENTRY GLES2GetBufferSubDataAsyncCHROMIUM(GLenum target,
+ GLintptr offset,
+ GLsizeiptr size) {
+ return gles2::GetGLContext()->GetBufferSubDataAsyncCHROMIUM(target, offset,
+ size);
+}
void GL_APIENTRY GLES2CoverageModulationCHROMIUM(GLenum components) {
gles2::GetGLContext()->CoverageModulationCHROMIUM(components);
}
@@ -2970,6 +2976,10 @@ extern const NameToFunc g_gles2_function_table[] = {
glProgramPathFragmentInputGenCHROMIUM),
},
{
+ "glGetBufferSubDataAsyncCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glGetBufferSubDataAsyncCHROMIUM),
+ },
+ {
"glCoverageModulationCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(glCoverageModulationCHROMIUM),
},

Powered by Google App Engine
This is Rietveld 408576698