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

Side by Side Diff: gpu/command_buffer/client/gles2_cmd_helper_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 1911 matching lines...) Expand 10 before | Expand all | Expand 10 after
1922 } 1922 }
1923 1923
1924 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { 1924 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
1925 gles2::cmds::MatrixLoadIdentityCHROMIUM* c = 1925 gles2::cmds::MatrixLoadIdentityCHROMIUM* c =
1926 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>(); 1926 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>();
1927 if (c) { 1927 if (c) {
1928 c->Init(matrixMode); 1928 c->Init(matrixMode);
1929 } 1929 }
1930 } 1930 }
1931 1931
1932 void GenPathsCHROMIUM(GLuint first_client_id, GLsizei range) {
1933 gles2::cmds::GenPathsCHROMIUM* c =
1934 GetCmdSpace<gles2::cmds::GenPathsCHROMIUM>();
1935 if (c) {
1936 c->Init(first_client_id, range);
1937 }
1938 }
1939
1940 void DeletePathsCHROMIUM(GLuint first_client_id, GLsizei range) {
1941 gles2::cmds::DeletePathsCHROMIUM* c =
1942 GetCmdSpace<gles2::cmds::DeletePathsCHROMIUM>();
1943 if (c) {
1944 c->Init(first_client_id, range);
1945 }
1946 }
1947
1948 void IsPathCHROMIUM(GLuint path,
1949 uint32_t result_shm_id,
1950 uint32_t result_shm_offset) {
1951 gles2::cmds::IsPathCHROMIUM* c = GetCmdSpace<gles2::cmds::IsPathCHROMIUM>();
1952 if (c) {
1953 c->Init(path, result_shm_id, result_shm_offset);
1954 }
1955 }
1956
1957 void PathCommandsCHROMIUM(GLuint path,
1958 GLsizei numCommands,
1959 uint32_t commands_shm_id,
1960 uint32_t commands_shm_offset,
1961 GLsizei numCoords,
1962 uint32_t coords_shm_id,
1963 uint32_t coords_shm_offset) {
1964 gles2::cmds::PathCommandsCHROMIUM* c =
1965 GetCmdSpace<gles2::cmds::PathCommandsCHROMIUM>();
1966 if (c) {
1967 c->Init(path,
1968 numCommands,
1969 commands_shm_id,
1970 commands_shm_offset,
1971 numCoords,
1972 coords_shm_id,
1973 coords_shm_offset);
1974 }
1975 }
1976
1977 void PathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value) {
1978 gles2::cmds::PathParameterfCHROMIUM* c =
1979 GetCmdSpace<gles2::cmds::PathParameterfCHROMIUM>();
1980 if (c) {
1981 c->Init(path, pname, value);
1982 }
1983 }
1984
1985 void PathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value) {
1986 gles2::cmds::PathParameteriCHROMIUM* c =
1987 GetCmdSpace<gles2::cmds::PathParameteriCHROMIUM>();
1988 if (c) {
1989 c->Init(path, pname, value);
1990 }
1991 }
1992
1993 void PathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask) {
1994 gles2::cmds::PathStencilFuncCHROMIUM* c =
1995 GetCmdSpace<gles2::cmds::PathStencilFuncCHROMIUM>();
1996 if (c) {
1997 c->Init(func, ref, mask);
1998 }
1999 }
2000
2001 void StencilFillPathCHROMIUM(GLuint path, GLenum fillMode, GLuint mask) {
2002 gles2::cmds::StencilFillPathCHROMIUM* c =
2003 GetCmdSpace<gles2::cmds::StencilFillPathCHROMIUM>();
2004 if (c) {
2005 c->Init(path, fillMode, mask);
2006 }
2007 }
2008
2009 void StencilStrokePathCHROMIUM(GLuint path, GLint reference, GLuint mask) {
2010 gles2::cmds::StencilStrokePathCHROMIUM* c =
2011 GetCmdSpace<gles2::cmds::StencilStrokePathCHROMIUM>();
2012 if (c) {
2013 c->Init(path, reference, mask);
2014 }
2015 }
2016
2017 void CoverFillPathCHROMIUM(GLuint path) {
2018 gles2::cmds::CoverFillPathCHROMIUM* c =
2019 GetCmdSpace<gles2::cmds::CoverFillPathCHROMIUM>();
2020 if (c) {
2021 c->Init(path);
2022 }
2023 }
2024
2025 void CoverStrokePathCHROMIUM(GLuint path) {
2026 gles2::cmds::CoverStrokePathCHROMIUM* c =
2027 GetCmdSpace<gles2::cmds::CoverStrokePathCHROMIUM>();
2028 if (c) {
2029 c->Init(path);
2030 }
2031 }
2032
2033 void StencilThenCoverFillPathCHROMIUM(GLuint path,
2034 GLenum fillMode,
2035 GLuint mask) {
2036 gles2::cmds::StencilThenCoverFillPathCHROMIUM* c =
2037 GetCmdSpace<gles2::cmds::StencilThenCoverFillPathCHROMIUM>();
2038 if (c) {
2039 c->Init(path, fillMode, mask);
2040 }
2041 }
2042
2043 void StencilThenCoverStrokePathCHROMIUM(GLuint path,
2044 GLint reference,
2045 GLuint mask) {
2046 gles2::cmds::StencilThenCoverStrokePathCHROMIUM* c =
2047 GetCmdSpace<gles2::cmds::StencilThenCoverStrokePathCHROMIUM>();
2048 if (c) {
2049 c->Init(path, reference, mask);
2050 }
2051 }
2052
1932 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2053 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698