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

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

Issue 169403005: command_buffer: Implement path rendering functions for CHROMIUM_path_rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nv-pr-02-texgen
Patch Set: rebase and cleanup ids Created 6 years, 2 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 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
955 uv_y, 955 uv_y,
956 uv_width, 956 uv_width,
957 uv_height); 957 uv_height);
958 } 958 }
959 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { 959 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) {
960 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); 960 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m);
961 } 961 }
962 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { 962 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
963 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); 963 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode);
964 } 964 }
965 GLuint GLES2GenPathsCHROMIUM(GLsizei range) {
966 return gles2::GetGLContext()->GenPathsCHROMIUM(range);
967 }
968 void GLES2DeletePathsCHROMIUM(GLuint path, GLsizei range) {
969 gles2::GetGLContext()->DeletePathsCHROMIUM(path, range);
970 }
971 GLboolean GLES2IsPathCHROMIUM(GLuint path) {
972 return gles2::GetGLContext()->IsPathCHROMIUM(path);
973 }
974 void GLES2PathCommandsCHROMIUM(GLuint path,
975 GLsizei numCommands,
976 const GLubyte* commands,
977 GLsizei numCoords,
978 const GLfloat* coords) {
979 gles2::GetGLContext()->PathCommandsCHROMIUM(
980 path, numCommands, commands, numCoords, coords);
981 }
982 void GLES2PathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value) {
983 gles2::GetGLContext()->PathParameterfCHROMIUM(path, pname, value);
984 }
985 void GLES2PathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value) {
986 gles2::GetGLContext()->PathParameteriCHROMIUM(path, pname, value);
987 }
988 void GLES2PathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask) {
989 gles2::GetGLContext()->PathStencilFuncCHROMIUM(func, ref, mask);
990 }
991 void GLES2StencilFillPathCHROMIUM(GLuint path, GLenum fillMode, GLuint mask) {
992 gles2::GetGLContext()->StencilFillPathCHROMIUM(path, fillMode, mask);
993 }
994 void GLES2StencilStrokePathCHROMIUM(GLuint path, GLint reference, GLuint mask) {
995 gles2::GetGLContext()->StencilStrokePathCHROMIUM(path, reference, mask);
996 }
997 void GLES2CoverFillPathCHROMIUM(GLuint path) {
998 gles2::GetGLContext()->CoverFillPathCHROMIUM(path);
999 }
1000 void GLES2CoverStrokePathCHROMIUM(GLuint path) {
1001 gles2::GetGLContext()->CoverStrokePathCHROMIUM(path);
1002 }
1003 void GLES2StencilThenCoverFillPathCHROMIUM(GLuint path,
1004 GLenum fillMode,
1005 GLuint mask) {
1006 gles2::GetGLContext()->StencilThenCoverFillPathCHROMIUM(path, fillMode, mask);
1007 }
1008 void GLES2StencilThenCoverStrokePathCHROMIUM(GLuint path,
1009 GLint reference,
1010 GLuint mask) {
1011 gles2::GetGLContext()->StencilThenCoverStrokePathCHROMIUM(
1012 path, reference, mask);
1013 }
965 1014
966 namespace gles2 { 1015 namespace gles2 {
967 1016
968 extern const NameToFunc g_gles2_function_table[] = { 1017 extern const NameToFunc g_gles2_function_table[] = {
969 { 1018 {
970 "glActiveTexture", 1019 "glActiveTexture",
971 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), 1020 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture),
972 }, 1021 },
973 { 1022 {
974 "glAttachShader", 1023 "glAttachShader",
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
1821 }, 1870 },
1822 { 1871 {
1823 "glMatrixLoadfCHROMIUM", 1872 "glMatrixLoadfCHROMIUM",
1824 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), 1873 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM),
1825 }, 1874 },
1826 { 1875 {
1827 "glMatrixLoadIdentityCHROMIUM", 1876 "glMatrixLoadIdentityCHROMIUM",
1828 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), 1877 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM),
1829 }, 1878 },
1830 { 1879 {
1880 "glGenPathsCHROMIUM",
1881 reinterpret_cast<GLES2FunctionPointer>(glGenPathsCHROMIUM),
1882 },
1883 {
1884 "glDeletePathsCHROMIUM",
1885 reinterpret_cast<GLES2FunctionPointer>(glDeletePathsCHROMIUM),
1886 },
1887 {
1888 "glIsPathCHROMIUM",
1889 reinterpret_cast<GLES2FunctionPointer>(glIsPathCHROMIUM),
1890 },
1891 {
1892 "glPathCommandsCHROMIUM",
1893 reinterpret_cast<GLES2FunctionPointer>(glPathCommandsCHROMIUM),
1894 },
1895 {
1896 "glPathParameterfCHROMIUM",
1897 reinterpret_cast<GLES2FunctionPointer>(glPathParameterfCHROMIUM),
1898 },
1899 {
1900 "glPathParameteriCHROMIUM",
1901 reinterpret_cast<GLES2FunctionPointer>(glPathParameteriCHROMIUM),
1902 },
1903 {
1904 "glPathStencilFuncCHROMIUM",
1905 reinterpret_cast<GLES2FunctionPointer>(glPathStencilFuncCHROMIUM),
1906 },
1907 {
1908 "glStencilFillPathCHROMIUM",
1909 reinterpret_cast<GLES2FunctionPointer>(glStencilFillPathCHROMIUM),
1910 },
1911 {
1912 "glStencilStrokePathCHROMIUM",
1913 reinterpret_cast<GLES2FunctionPointer>(glStencilStrokePathCHROMIUM),
1914 },
1915 {
1916 "glCoverFillPathCHROMIUM",
1917 reinterpret_cast<GLES2FunctionPointer>(glCoverFillPathCHROMIUM),
1918 },
1919 {
1920 "glCoverStrokePathCHROMIUM",
1921 reinterpret_cast<GLES2FunctionPointer>(glCoverStrokePathCHROMIUM),
1922 },
1923 {
1924 "glStencilThenCoverFillPathCHROMIUM",
1925 reinterpret_cast<GLES2FunctionPointer>(glStencilThenCoverFillPathCHROMIUM),
1926 },
1927 {
1928 "glStencilThenCoverStrokePathCHROMIUM",
1929 reinterpret_cast<GLES2FunctionPointer>(
1930 glStencilThenCoverStrokePathCHROMIUM),
1931 },
1932 {
1831 NULL, 1933 NULL,
1832 NULL, 1934 NULL,
1833 }, 1935 },
1834 }; 1936 };
1835 1937
1836 } // namespace gles2 1938 } // namespace gles2
1837 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1939 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698