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

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

Issue 12806006: Add EncodeBackbufferCHROMIUM support to GLES2 command stream (Closed) Base URL: https://chromium.googlesource.com/chromium/src@yuv_2
Patch Set: Removed extraneous file. Created 7 years, 9 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 70a7c55b3495d8132b3dff06b69a539e1df0d8be..a2642d453ffb46348d26179f64fac001d9f9f2f4 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -731,6 +731,9 @@ void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) {
void GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) {
gles2::GetGLContext()->DrawBuffersEXT(count, bufs);
}
+void GLES2EncodeBackbufferCHROMIUM() {
+ gles2::GetGLContext()->EncodeBackbufferCHROMIUM();
+}
namespace gles2 {
@@ -1074,6 +1077,8 @@ NameToFunc g_gles2_function_table[] = {
glWaitSyncPointCHROMIUM), },
{ "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>(
glDrawBuffersEXT), },
+ { "glEncodeBackbufferCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
+ glEncodeBackbufferCHROMIUM), },
{ NULL, NULL, },
};
« 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