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

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

Powered by Google App Engine
This is Rietveld 408576698