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

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: fix windows build Created 5 years, 5 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 2815 matching lines...) Expand 10 before | Expand all | Expand 10 after
2826 } 2826 }
2827 2827
2828 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { 2828 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
2829 gles2::cmds::MatrixLoadIdentityCHROMIUM* c = 2829 gles2::cmds::MatrixLoadIdentityCHROMIUM* c =
2830 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>(); 2830 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>();
2831 if (c) { 2831 if (c) {
2832 c->Init(matrixMode); 2832 c->Init(matrixMode);
2833 } 2833 }
2834 } 2834 }
2835 2835
2836 void GenPathsCHROMIUM(GLuint first_client_id, GLsizei range) {
2837 gles2::cmds::GenPathsCHROMIUM* c =
2838 GetCmdSpace<gles2::cmds::GenPathsCHROMIUM>();
2839 if (c) {
2840 c->Init(first_client_id, range);
2841 }
2842 }
2843
2844 void DeletePathsCHROMIUM(GLuint first_client_id, GLsizei range) {
2845 gles2::cmds::DeletePathsCHROMIUM* c =
2846 GetCmdSpace<gles2::cmds::DeletePathsCHROMIUM>();
2847 if (c) {
2848 c->Init(first_client_id, range);
2849 }
2850 }
2851
2852 void IsPathCHROMIUM(GLuint path,
2853 uint32_t result_shm_id,
2854 uint32_t result_shm_offset) {
2855 gles2::cmds::IsPathCHROMIUM* c = GetCmdSpace<gles2::cmds::IsPathCHROMIUM>();
2856 if (c) {
2857 c->Init(path, result_shm_id, result_shm_offset);
2858 }
2859 }
2860
2861 void PathCommandsCHROMIUM(GLuint path,
2862 GLsizei numCommands,
2863 uint32_t commands_shm_id,
2864 uint32_t commands_shm_offset,
2865 GLsizei numCoords,
2866 GLenum coordType,
2867 uint32_t coords_shm_id,
2868 uint32_t coords_shm_offset) {
2869 gles2::cmds::PathCommandsCHROMIUM* c =
2870 GetCmdSpace<gles2::cmds::PathCommandsCHROMIUM>();
2871 if (c) {
2872 c->Init(path, numCommands, commands_shm_id, commands_shm_offset, numCoords,
2873 coordType, coords_shm_id, coords_shm_offset);
2874 }
2875 }
2876
2877 void PathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value) {
2878 gles2::cmds::PathParameterfCHROMIUM* c =
2879 GetCmdSpace<gles2::cmds::PathParameterfCHROMIUM>();
2880 if (c) {
2881 c->Init(path, pname, value);
2882 }
2883 }
2884
2885 void PathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value) {
2886 gles2::cmds::PathParameteriCHROMIUM* c =
2887 GetCmdSpace<gles2::cmds::PathParameteriCHROMIUM>();
2888 if (c) {
2889 c->Init(path, pname, value);
2890 }
2891 }
2892
2893 void PathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask) {
2894 gles2::cmds::PathStencilFuncCHROMIUM* c =
2895 GetCmdSpace<gles2::cmds::PathStencilFuncCHROMIUM>();
2896 if (c) {
2897 c->Init(func, ref, mask);
2898 }
2899 }
2900
2901 void StencilFillPathCHROMIUM(GLuint path, GLenum fillMode, GLuint mask) {
2902 gles2::cmds::StencilFillPathCHROMIUM* c =
2903 GetCmdSpace<gles2::cmds::StencilFillPathCHROMIUM>();
2904 if (c) {
2905 c->Init(path, fillMode, mask);
2906 }
2907 }
2908
2909 void StencilStrokePathCHROMIUM(GLuint path, GLint reference, GLuint mask) {
2910 gles2::cmds::StencilStrokePathCHROMIUM* c =
2911 GetCmdSpace<gles2::cmds::StencilStrokePathCHROMIUM>();
2912 if (c) {
2913 c->Init(path, reference, mask);
2914 }
2915 }
2916
2917 void CoverFillPathCHROMIUM(GLuint path, GLenum coverMode) {
2918 gles2::cmds::CoverFillPathCHROMIUM* c =
2919 GetCmdSpace<gles2::cmds::CoverFillPathCHROMIUM>();
2920 if (c) {
2921 c->Init(path, coverMode);
2922 }
2923 }
2924
2925 void CoverStrokePathCHROMIUM(GLuint path, GLenum coverMode) {
2926 gles2::cmds::CoverStrokePathCHROMIUM* c =
2927 GetCmdSpace<gles2::cmds::CoverStrokePathCHROMIUM>();
2928 if (c) {
2929 c->Init(path, coverMode);
2930 }
2931 }
2932
2933 void StencilThenCoverFillPathCHROMIUM(GLuint path,
2934 GLenum fillMode,
2935 GLuint mask,
2936 GLenum coverMode) {
2937 gles2::cmds::StencilThenCoverFillPathCHROMIUM* c =
2938 GetCmdSpace<gles2::cmds::StencilThenCoverFillPathCHROMIUM>();
2939 if (c) {
2940 c->Init(path, fillMode, mask, coverMode);
2941 }
2942 }
2943
2944 void StencilThenCoverStrokePathCHROMIUM(GLuint path,
2945 GLint reference,
2946 GLuint mask,
2947 GLenum coverMode) {
2948 gles2::cmds::StencilThenCoverStrokePathCHROMIUM* c =
2949 GetCmdSpace<gles2::cmds::StencilThenCoverStrokePathCHROMIUM>();
2950 if (c) {
2951 c->Init(path, reference, mask, coverMode);
2952 }
2953 }
2954
2836 void BlendBarrierKHR() { 2955 void BlendBarrierKHR() {
2837 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2956 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2838 if (c) { 2957 if (c) {
2839 c->Init(); 2958 c->Init();
2840 } 2959 }
2841 } 2960 }
2842 2961
2843 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2962 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698