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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 // These functions emulate GLES2 over command buffers. 9 // These functions emulate GLES2 over command buffers.
10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 } 724 }
725 GLuint GLES2InsertSyncPointCHROMIUM() { 725 GLuint GLES2InsertSyncPointCHROMIUM() {
726 return gles2::GetGLContext()->InsertSyncPointCHROMIUM(); 726 return gles2::GetGLContext()->InsertSyncPointCHROMIUM();
727 } 727 }
728 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) { 728 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) {
729 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point); 729 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point);
730 } 730 }
731 void GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) { 731 void GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) {
732 gles2::GetGLContext()->DrawBuffersEXT(count, bufs); 732 gles2::GetGLContext()->DrawBuffersEXT(count, bufs);
733 } 733 }
734 void GLES2EncodeBackbufferCHROMIUM() {
735 gles2::GetGLContext()->EncodeBackbufferCHROMIUM();
736 }
734 737
735 namespace gles2 { 738 namespace gles2 {
736 739
737 NameToFunc g_gles2_function_table[] = { 740 NameToFunc g_gles2_function_table[] = {
738 { "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>( 741 { "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>(
739 glActiveTexture), }, 742 glActiveTexture), },
740 { "glAttachShader", reinterpret_cast<GLES2FunctionPointer>( 743 { "glAttachShader", reinterpret_cast<GLES2FunctionPointer>(
741 glAttachShader), }, 744 glAttachShader), },
742 { "glBindAttribLocation", reinterpret_cast<GLES2FunctionPointer>( 745 { "glBindAttribLocation", reinterpret_cast<GLES2FunctionPointer>(
743 glBindAttribLocation), }, 746 glBindAttribLocation), },
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1067 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>( 1070 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>(
1068 glDiscardFramebufferEXT), }, 1071 glDiscardFramebufferEXT), },
1069 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1072 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1070 glLoseContextCHROMIUM), }, 1073 glLoseContextCHROMIUM), },
1071 { "glInsertSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1074 { "glInsertSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1072 glInsertSyncPointCHROMIUM), }, 1075 glInsertSyncPointCHROMIUM), },
1073 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1076 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1074 glWaitSyncPointCHROMIUM), }, 1077 glWaitSyncPointCHROMIUM), },
1075 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( 1078 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>(
1076 glDrawBuffersEXT), }, 1079 glDrawBuffersEXT), },
1080 { "glEncodeBackbufferCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1081 glEncodeBackbufferCHROMIUM), },
1077 { NULL, NULL, }, 1082 { NULL, NULL, },
1078 }; 1083 };
1079 1084
1080 } // namespace gles2 1085 } // namespace gles2
1081 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1086 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
1082 1087
OLDNEW
« 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