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

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

Issue 169603002: Add initial support for NV_path_rendering extension to gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 } 897 }
898 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) { 898 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) {
899 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point); 899 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point);
900 } 900 }
901 void GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) { 901 void GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) {
902 gles2::GetGLContext()->DrawBuffersEXT(count, bufs); 902 gles2::GetGLContext()->DrawBuffersEXT(count, bufs);
903 } 903 }
904 void GLES2DiscardBackbufferCHROMIUM() { 904 void GLES2DiscardBackbufferCHROMIUM() {
905 gles2::GetGLContext()->DiscardBackbufferCHROMIUM(); 905 gles2::GetGLContext()->DiscardBackbufferCHROMIUM();
906 } 906 }
907 void GLES2MatrixMode(GLenum mode) { gles2::GetGLContext()->MatrixMode(mode); }
908 void GLES2LoadMatrixf(const GLfloat* m) {
909 gles2::GetGLContext()->LoadMatrixf(m);
910 }
911 void GLES2LoadIdentity() { gles2::GetGLContext()->LoadIdentity(); }
907 912
908 namespace gles2 { 913 namespace gles2 {
909 914
910 extern const NameToFunc g_gles2_function_table[] = { 915 extern const NameToFunc g_gles2_function_table[] = {
911 {"glActiveTexture", 916 {"glActiveTexture",
912 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), }, 917 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), },
913 {"glAttachShader", 918 {"glAttachShader",
914 reinterpret_cast<GLES2FunctionPointer>(glAttachShader), }, 919 reinterpret_cast<GLES2FunctionPointer>(glAttachShader), },
915 {"glBindAttribLocation", 920 {"glBindAttribLocation",
916 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation), }, 921 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation), },
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1270 {"glLoseContextCHROMIUM", 1275 {"glLoseContextCHROMIUM",
1271 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM), }, 1276 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM), },
1272 {"glInsertSyncPointCHROMIUM", 1277 {"glInsertSyncPointCHROMIUM",
1273 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), }, 1278 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), },
1274 {"glWaitSyncPointCHROMIUM", 1279 {"glWaitSyncPointCHROMIUM",
1275 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), }, 1280 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), },
1276 {"glDrawBuffersEXT", 1281 {"glDrawBuffersEXT",
1277 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), }, 1282 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), },
1278 {"glDiscardBackbufferCHROMIUM", 1283 {"glDiscardBackbufferCHROMIUM",
1279 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), }, 1284 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), },
1285 {"glMatrixMode", reinterpret_cast<GLES2FunctionPointer>(glMatrixMode), },
1286 {"glLoadMatrixf", reinterpret_cast<GLES2FunctionPointer>(glLoadMatrixf), },
1287 {"glLoadIdentity",
1288 reinterpret_cast<GLES2FunctionPointer>(glLoadIdentity), },
1280 {NULL, NULL, }, }; 1289 {NULL, NULL, }, };
1281 1290
1282 } // namespace gles2 1291 } // namespace gles2
1283 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1292 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698