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