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

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

Issue 14456004: GPU client side changes for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Uploading again Created 7 years, 8 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 f1a5b082f9adae82923c5d2fa5fe28735a1db409..a512c58b418f17f8d3bb517bec63a4ce7a292fac 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -296,6 +296,10 @@ void GLES2GetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) {
void GLES2Hint(GLenum target, GLenum mode) {
gles2::GetGLContext()->Hint(target, mode);
}
+void GLES2ImageBufferDataCHROMIUM(
+ GLenum target, GLsizei width, GLsizei height) {
+ gles2::GetGLContext()->ImageBufferDataCHROMIUM(target, width, height);
+}
GLboolean GLES2IsBuffer(GLuint buffer) {
return gles2::GetGLContext()->IsBuffer(buffer);
}
@@ -870,6 +874,8 @@ NameToFunc g_gles2_function_table[] = {
{ "glGetVertexAttribPointerv", reinterpret_cast<GLES2FunctionPointer>(
glGetVertexAttribPointerv), },
{ "glHint", reinterpret_cast<GLES2FunctionPointer>(glHint), },
+ { "glImageBufferDataCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
+ glImageBufferDataCHROMIUM), },
{ "glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer), },
{ "glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled), },
{ "glIsFramebuffer", reinterpret_cast<GLES2FunctionPointer>(

Powered by Google App Engine
This is Rietveld 408576698