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

Side by Side Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 12545014: Implement EXT_draw_buffers WebGL extention support in command buffer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 | Annotate | Revision Log
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 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 } 721 }
722 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) { 722 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) {
723 gles2::GetGLContext()->LoseContextCHROMIUM(current, other); 723 gles2::GetGLContext()->LoseContextCHROMIUM(current, other);
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) {
732 gles2::GetGLContext()->DrawBuffersEXT(count, bufs);
733 }
731 734
732 namespace gles2 { 735 namespace gles2 {
733 736
734 NameToFunc g_gles2_function_table[] = { 737 NameToFunc g_gles2_function_table[] = {
735 { "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>( 738 { "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>(
736 glActiveTexture), }, 739 glActiveTexture), },
737 { "glAttachShader", reinterpret_cast<GLES2FunctionPointer>( 740 { "glAttachShader", reinterpret_cast<GLES2FunctionPointer>(
738 glAttachShader), }, 741 glAttachShader), },
739 { "glBindAttribLocation", reinterpret_cast<GLES2FunctionPointer>( 742 { "glBindAttribLocation", reinterpret_cast<GLES2FunctionPointer>(
740 glBindAttribLocation), }, 743 glBindAttribLocation), },
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 { "glWaitAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1065 { "glWaitAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1063 glWaitAsyncTexImage2DCHROMIUM), }, 1066 glWaitAsyncTexImage2DCHROMIUM), },
1064 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>( 1067 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>(
1065 glDiscardFramebufferEXT), }, 1068 glDiscardFramebufferEXT), },
1066 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1069 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1067 glLoseContextCHROMIUM), }, 1070 glLoseContextCHROMIUM), },
1068 { "glInsertSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1071 { "glInsertSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1069 glInsertSyncPointCHROMIUM), }, 1072 glInsertSyncPointCHROMIUM), },
1070 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1073 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1071 glWaitSyncPointCHROMIUM), }, 1074 glWaitSyncPointCHROMIUM), },
1075 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>(
1076 glDrawBuffersEXT), },
1072 { NULL, NULL, }, 1077 { NULL, NULL, },
1073 }; 1078 };
1074 1079
1075 } // namespace gles2 1080 } // namespace gles2
1076 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1081 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
1077 1082
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