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

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 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 void GLES2DiscardFramebufferEXT( 718 void GLES2DiscardFramebufferEXT(
719 GLenum target, GLsizei count, const GLenum* attachments) { 719 GLenum target, GLsizei count, const GLenum* attachments) {
720 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments); 720 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments);
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 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) { 725 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) {
726 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point); 726 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point);
727 } 727 }
728 void GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) {
729 gles2::GetGLContext()->DrawBuffersEXT(count, bufs);
730 }
728 731
729 namespace gles2 { 732 namespace gles2 {
730 733
731 NameToFunc g_gles2_function_table[] = { 734 NameToFunc g_gles2_function_table[] = {
732 { "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>( 735 { "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>(
733 glActiveTexture), }, 736 glActiveTexture), },
734 { "glAttachShader", reinterpret_cast<GLES2FunctionPointer>( 737 { "glAttachShader", reinterpret_cast<GLES2FunctionPointer>(
735 glAttachShader), }, 738 glAttachShader), },
736 { "glBindAttribLocation", reinterpret_cast<GLES2FunctionPointer>( 739 { "glBindAttribLocation", reinterpret_cast<GLES2FunctionPointer>(
737 glBindAttribLocation), }, 740 glBindAttribLocation), },
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 { "glAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1060 { "glAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1058 glAsyncTexImage2DCHROMIUM), }, 1061 glAsyncTexImage2DCHROMIUM), },
1059 { "glWaitAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1062 { "glWaitAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1060 glWaitAsyncTexImage2DCHROMIUM), }, 1063 glWaitAsyncTexImage2DCHROMIUM), },
1061 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>( 1064 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>(
1062 glDiscardFramebufferEXT), }, 1065 glDiscardFramebufferEXT), },
1063 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1066 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1064 glLoseContextCHROMIUM), }, 1067 glLoseContextCHROMIUM), },
1065 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1068 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1066 glWaitSyncPointCHROMIUM), }, 1069 glWaitSyncPointCHROMIUM), },
1070 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>(
1071 glDrawBuffersEXT), },
1067 { NULL, NULL, }, 1072 { NULL, NULL, },
1068 }; 1073 };
1069 1074
1070 } // namespace gles2 1075 } // namespace gles2
1071 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1076 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
1072 1077
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698