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 27 matching lines...) Expand all Loading... |
38 }, | 38 }, |
39 { | 39 { |
40 0x8C76, | 40 0x8C76, |
41 "GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH", | 41 "GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH", |
42 }, | 42 }, |
43 { | 43 { |
44 0x8825, | 44 0x8825, |
45 "GL_DRAW_BUFFER0_EXT", | 45 "GL_DRAW_BUFFER0_EXT", |
46 }, | 46 }, |
47 { | 47 { |
| 48 0x94F8, |
| 49 "GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL", |
| 50 }, |
| 51 { |
48 0x8D94, | 52 0x8D94, |
49 "GL_RED_INTEGER", | 53 "GL_RED_INTEGER", |
50 }, | 54 }, |
51 { | 55 { |
52 0x0BC1, | 56 0x0BC1, |
53 "GL_ALPHA_TEST_FUNC_QCOM", | 57 "GL_ALPHA_TEST_FUNC_QCOM", |
54 }, | 58 }, |
55 { | 59 { |
56 0x884C, | 60 0x884C, |
57 "GL_TEXTURE_COMPARE_MODE_EXT", | 61 "GL_TEXTURE_COMPARE_MODE_EXT", |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 }, | 578 }, |
575 { | 579 { |
576 0x1700, | 580 0x1700, |
577 "GL_PATH_MODELVIEW_CHROMIUM", | 581 "GL_PATH_MODELVIEW_CHROMIUM", |
578 }, | 582 }, |
579 { | 583 { |
580 0x80000000, | 584 0x80000000, |
581 "GL_MULTISAMPLE_BUFFER_BIT7_QCOM", | 585 "GL_MULTISAMPLE_BUFFER_BIT7_QCOM", |
582 }, | 586 }, |
583 { | 587 { |
584 0x94F8, | |
585 "GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL", | |
586 }, | |
587 { | |
588 0x8A48, | 588 0x8A48, |
589 "GL_TEXTURE_SRGB_DECODE_EXT", | 589 "GL_TEXTURE_SRGB_DECODE_EXT", |
590 }, | 590 }, |
591 { | 591 { |
592 0x300E, | |
593 "GL_CONTEXT_LOST", | |
594 }, | |
595 { | |
596 0x02000000, | 592 0x02000000, |
597 "GL_MULTISAMPLE_BUFFER_BIT1_QCOM", | 593 "GL_MULTISAMPLE_BUFFER_BIT1_QCOM", |
598 }, | 594 }, |
599 { | 595 { |
600 0x8C2F, | 596 0x8C2F, |
601 "GL_ANY_SAMPLES_PASSED_EXT", | 597 "GL_ANY_SAMPLES_PASSED_EXT", |
602 }, | 598 }, |
603 { | 599 { |
604 0x8BD2, | 600 0x8BD2, |
605 "GL_TEXTURE_WIDTH_QCOM", | 601 "GL_TEXTURE_WIDTH_QCOM", |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 }, | 874 }, |
879 { | 875 { |
880 0x8F64, | 876 0x8F64, |
881 "GL_SHADER_PIXEL_LOCAL_STORAGE_EXT", | 877 "GL_SHADER_PIXEL_LOCAL_STORAGE_EXT", |
882 }, | 878 }, |
883 { | 879 { |
884 0x8F65, | 880 0x8F65, |
885 "GL_FETCH_PER_SAMPLE_ARM", | 881 "GL_FETCH_PER_SAMPLE_ARM", |
886 }, | 882 }, |
887 { | 883 { |
| 884 0x8F97, |
| 885 "GL_RGBA8_SNORM", |
| 886 }, |
| 887 { |
888 0x92D3, | 888 0x92D3, |
889 "GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT", | 889 "GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT", |
890 }, | 890 }, |
891 { | 891 { |
892 0x87EE, | 892 0x87EE, |
893 "GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD", | 893 "GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD", |
894 }, | 894 }, |
895 { | 895 { |
896 0x822B, | 896 0x822B, |
897 "GL_RG8_EXT", | 897 "GL_RG8_EXT", |
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1718 }, | 1718 }, |
1719 { | 1719 { |
1720 0x8A39, | 1720 0x8A39, |
1721 "GL_UNIFORM_NAME_LENGTH", | 1721 "GL_UNIFORM_NAME_LENGTH", |
1722 }, | 1722 }, |
1723 { | 1723 { |
1724 0x8E2C, | 1724 0x8E2C, |
1725 "GL_DEPTH_COMPONENT16_NONLINEAR_NV", | 1725 "GL_DEPTH_COMPONENT16_NONLINEAR_NV", |
1726 }, | 1726 }, |
1727 { | 1727 { |
1728 0x889F, | 1728 0x8508, |
1729 "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", | 1729 "GL_DECR_WRAP", |
1730 }, | 1730 }, |
1731 { | 1731 { |
1732 0x8219, | 1732 0x8219, |
1733 "GL_FRAMEBUFFER_UNDEFINED_OES", | 1733 "GL_FRAMEBUFFER_UNDEFINED_OES", |
1734 }, | 1734 }, |
1735 { | 1735 { |
1736 0x8E23, | 1736 0x8E23, |
1737 "GL_TRANSFORM_FEEDBACK_PAUSED", | 1737 "GL_TRANSFORM_FEEDBACK_PAUSED", |
1738 }, | 1738 }, |
1739 { | 1739 { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1806 }, | 1806 }, |
1807 { | 1807 { |
1808 0x0202, | 1808 0x0202, |
1809 "GL_EQUAL", | 1809 "GL_EQUAL", |
1810 }, | 1810 }, |
1811 { | 1811 { |
1812 0x0203, | 1812 0x0203, |
1813 "GL_LEQUAL", | 1813 "GL_LEQUAL", |
1814 }, | 1814 }, |
1815 { | 1815 { |
1816 0x8BD6, | |
1817 "GL_TEXTURE_FORMAT_QCOM", | |
1818 }, | |
1819 { | |
1820 0x8228, | 1816 0x8228, |
1821 "GL_RG_INTEGER", | 1817 "GL_RG_INTEGER", |
1822 }, | 1818 }, |
1823 { | 1819 { |
1824 0x2901, | 1820 0x2901, |
1825 "GL_REPEAT", | 1821 "GL_REPEAT", |
1826 }, | 1822 }, |
1827 { | 1823 { |
1828 0x9067, | 1824 0x9067, |
1829 "GL_UNSIGNED_INT_IMAGE_BUFFER_EXT", | 1825 "GL_UNSIGNED_INT_IMAGE_BUFFER_EXT", |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1970 }, | 1966 }, |
1971 { | 1967 { |
1972 0x886C, | 1968 0x886C, |
1973 "GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT", | 1969 "GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT", |
1974 }, | 1970 }, |
1975 { | 1971 { |
1976 0x90CB, | 1972 0x90CB, |
1977 "GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT", | 1973 "GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT", |
1978 }, | 1974 }, |
1979 { | 1975 { |
1980 0x8DCA, | |
1981 "GL_INT_SAMPLER_2D", | |
1982 }, | |
1983 { | |
1984 0x93C7, | 1976 0x93C7, |
1985 "GL_COMPRESSED_RGBA_ASTC_6x5x5_OES", | 1977 "GL_COMPRESSED_RGBA_ASTC_6x5x5_OES", |
1986 }, | 1978 }, |
1987 { | 1979 { |
1988 0x8B5F, | 1980 0x8B5F, |
1989 "GL_SAMPLER_3D_OES", | 1981 "GL_SAMPLER_3D_OES", |
1990 }, | 1982 }, |
1991 { | 1983 { |
1992 0x8B95, | 1984 0x8B95, |
1993 "GL_PALETTE8_RGB8_OES", | 1985 "GL_PALETTE8_RGB8_OES", |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2326 }, | 2318 }, |
2327 { | 2319 { |
2328 0x8D82, | 2320 0x8D82, |
2329 "GL_RGBA32I", | 2321 "GL_RGBA32I", |
2330 }, | 2322 }, |
2331 { | 2323 { |
2332 0x8009, | 2324 0x8009, |
2333 "GL_BLEND_EQUATION", | 2325 "GL_BLEND_EQUATION", |
2334 }, | 2326 }, |
2335 { | 2327 { |
| 2328 0x8DCA, |
| 2329 "GL_INT_SAMPLER_2D", |
| 2330 }, |
| 2331 { |
2336 0x911F, | 2332 0x911F, |
2337 "GL_BUFFER_ACCESS_FLAGS", | 2333 "GL_BUFFER_ACCESS_FLAGS", |
2338 }, | 2334 }, |
2339 { | 2335 { |
2340 0x1401, | 2336 0x1401, |
2341 "GL_UNSIGNED_BYTE", | 2337 "GL_UNSIGNED_BYTE", |
2342 }, | 2338 }, |
2343 { | 2339 { |
2344 0x1400, | 2340 0x1400, |
2345 "GL_BYTE", | 2341 "GL_BYTE", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2406 }, | 2402 }, |
2407 { | 2403 { |
2408 0x823B, | 2404 0x823B, |
2409 "GL_RG32I", | 2405 "GL_RG32I", |
2410 }, | 2406 }, |
2411 { | 2407 { |
2412 0x8CD3, | 2408 0x8CD3, |
2413 "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE", | 2409 "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE", |
2414 }, | 2410 }, |
2415 { | 2411 { |
2416 0x846E, | 2412 0x929E, |
2417 "GL_ALIASED_LINE_WIDTH_RANGE", | 2413 "GL_DIFFERENCE_KHR", |
2418 }, | 2414 }, |
2419 { | 2415 { |
2420 0x0B90, | 2416 0x0B90, |
2421 "GL_STENCIL_TEST", | 2417 "GL_STENCIL_TEST", |
2422 }, | 2418 }, |
2423 { | 2419 { |
2424 0x8CD2, | 2420 0x8CD2, |
2425 "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL", | 2421 "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL", |
2426 }, | 2422 }, |
2427 { | 2423 { |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2570 }, | 2566 }, |
2571 { | 2567 { |
2572 0x929C, | 2568 0x929C, |
2573 "GL_SOFTLIGHT_KHR", | 2569 "GL_SOFTLIGHT_KHR", |
2574 }, | 2570 }, |
2575 { | 2571 { |
2576 0x846D, | 2572 0x846D, |
2577 "GL_ALIASED_POINT_SIZE_RANGE", | 2573 "GL_ALIASED_POINT_SIZE_RANGE", |
2578 }, | 2574 }, |
2579 { | 2575 { |
2580 0x929E, | 2576 0x846E, |
2581 "GL_DIFFERENCE_KHR", | 2577 "GL_ALIASED_LINE_WIDTH_RANGE", |
2582 }, | 2578 }, |
2583 { | 2579 { |
2584 0x929F, | 2580 0x929F, |
2585 "GL_MINUS_NV", | 2581 "GL_MINUS_NV", |
2586 }, | 2582 }, |
2587 { | 2583 { |
2588 0x9282, | 2584 0x9282, |
2589 "GL_UNCORRELATED_NV", | 2585 "GL_UNCORRELATED_NV", |
2590 }, | 2586 }, |
2591 { | 2587 { |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2774 }, | 2770 }, |
2775 { | 2771 { |
2776 0x8765, | 2772 0x8765, |
2777 "GL_BUFFER_USAGE", | 2773 "GL_BUFFER_USAGE", |
2778 }, | 2774 }, |
2779 { | 2775 { |
2780 0x8764, | 2776 0x8764, |
2781 "GL_BUFFER_SIZE", | 2777 "GL_BUFFER_SIZE", |
2782 }, | 2778 }, |
2783 { | 2779 { |
| 2780 0x8BD6, |
| 2781 "GL_TEXTURE_FORMAT_QCOM", |
| 2782 }, |
| 2783 { |
2784 0x8B99, | 2784 0x8B99, |
2785 "GL_PALETTE8_RGB5_A1_OES", | 2785 "GL_PALETTE8_RGB5_A1_OES", |
2786 }, | 2786 }, |
2787 { | 2787 { |
2788 0x0503, | 2788 0x0503, |
2789 "GL_STACK_OVERFLOW_KHR", | 2789 "GL_STACK_OVERFLOW_KHR", |
2790 }, | 2790 }, |
2791 { | 2791 { |
2792 0x0502, | 2792 0x0502, |
2793 "GL_INVALID_OPERATION", | 2793 "GL_INVALID_OPERATION", |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3098 }, | 3098 }, |
3099 { | 3099 { |
3100 0x8C4C, | 3100 0x8C4C, |
3101 "GL_COMPRESSED_SRGB_S3TC_DXT1_NV", | 3101 "GL_COMPRESSED_SRGB_S3TC_DXT1_NV", |
3102 }, | 3102 }, |
3103 { | 3103 { |
3104 0x8C4E, | 3104 0x8C4E, |
3105 "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV", | 3105 "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV", |
3106 }, | 3106 }, |
3107 { | 3107 { |
3108 0x8251, | 3108 0x1102, |
3109 "GL_DEBUG_TYPE_OTHER_KHR", | 3109 "GL_NICEST", |
3110 }, | 3110 }, |
3111 { | 3111 { |
3112 0x8C4F, | 3112 0x8C4F, |
3113 "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV", | 3113 "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV", |
3114 }, | 3114 }, |
3115 { | 3115 { |
3116 0x9309, | 3116 0x9309, |
3117 "GL_REFERENCED_BY_GEOMETRY_SHADER_EXT", | 3117 "GL_REFERENCED_BY_GEOMETRY_SHADER_EXT", |
3118 }, | 3118 }, |
3119 { | 3119 { |
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3722 }, | 3722 }, |
3723 { | 3723 { |
3724 0x8E4E, | 3724 0x8E4E, |
3725 "GL_LAST_VERTEX_CONVENTION_EXT", | 3725 "GL_LAST_VERTEX_CONVENTION_EXT", |
3726 }, | 3726 }, |
3727 { | 3727 { |
3728 0x8E4D, | 3728 0x8E4D, |
3729 "GL_FIRST_VERTEX_CONVENTION_EXT", | 3729 "GL_FIRST_VERTEX_CONVENTION_EXT", |
3730 }, | 3730 }, |
3731 { | 3731 { |
| 3732 0x300E, |
| 3733 "GL_CONTEXT_LOST", |
| 3734 }, |
| 3735 { |
3732 0x8E24, | 3736 0x8E24, |
3733 "GL_TRANSFORM_FEEDBACK_ACTIVE", | 3737 "GL_TRANSFORM_FEEDBACK_ACTIVE", |
3734 }, | 3738 }, |
3735 { | 3739 { |
3736 0x8E45, | 3740 0x8E45, |
3737 "GL_TEXTURE_SWIZZLE_A", | 3741 "GL_TEXTURE_SWIZZLE_A", |
3738 }, | 3742 }, |
3739 { | 3743 { |
3740 0x8E44, | 3744 0x8E44, |
3741 "GL_TEXTURE_SWIZZLE_B", | 3745 "GL_TEXTURE_SWIZZLE_B", |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3886 }, | 3890 }, |
3887 { | 3891 { |
3888 0x8C36, | 3892 0x8C36, |
3889 "GL_SAMPLE_SHADING_OES", | 3893 "GL_SAMPLE_SHADING_OES", |
3890 }, | 3894 }, |
3891 { | 3895 { |
3892 0x8C37, | 3896 0x8C37, |
3893 "GL_MIN_SAMPLE_SHADING_VALUE_OES", | 3897 "GL_MIN_SAMPLE_SHADING_VALUE_OES", |
3894 }, | 3898 }, |
3895 { | 3899 { |
3896 0x8F97, | |
3897 "GL_RGBA8_SNORM", | |
3898 }, | |
3899 { | |
3900 0x8CE9, | 3900 0x8CE9, |
3901 "GL_COLOR_ATTACHMENT9_EXT", | 3901 "GL_COLOR_ATTACHMENT9_EXT", |
3902 }, | 3902 }, |
3903 { | 3903 { |
3904 0x8DAD, | 3904 0x8DAD, |
3905 "GL_FLOAT_32_UNSIGNED_INT_24_8_REV", | 3905 "GL_FLOAT_32_UNSIGNED_INT_24_8_REV", |
3906 }, | 3906 }, |
3907 { | 3907 { |
3908 0x8B96, | 3908 0x8B96, |
3909 "GL_PALETTE8_RGBA8_OES", | 3909 "GL_PALETTE8_RGBA8_OES", |
3910 }, | 3910 }, |
3911 { | 3911 { |
3912 0x8872, | 3912 0x8872, |
3913 "GL_MAX_TEXTURE_IMAGE_UNITS", | 3913 "GL_MAX_TEXTURE_IMAGE_UNITS", |
3914 }, | 3914 }, |
3915 { | 3915 { |
3916 0x8DC6, | 3916 0x8DC6, |
3917 "GL_UNSIGNED_INT_VEC2", | 3917 "GL_UNSIGNED_INT_VEC2", |
3918 }, | 3918 }, |
3919 { | 3919 { |
3920 0x8508, | 3920 0x889F, |
3921 "GL_DECR_WRAP", | 3921 "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", |
3922 }, | 3922 }, |
3923 { | 3923 { |
3924 0x92AD, | 3924 0x92AD, |
3925 "GL_HSL_HUE_KHR", | 3925 "GL_HSL_HUE_KHR", |
3926 }, | 3926 }, |
3927 { | 3927 { |
3928 0x92AE, | 3928 0x92AE, |
3929 "GL_HSL_SATURATION_KHR", | 3929 "GL_HSL_SATURATION_KHR", |
3930 }, | 3930 }, |
3931 { | 3931 { |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4186 }, | 4186 }, |
4187 { | 4187 { |
4188 0x1100, | 4188 0x1100, |
4189 "GL_DONT_CARE", | 4189 "GL_DONT_CARE", |
4190 }, | 4190 }, |
4191 { | 4191 { |
4192 0x1101, | 4192 0x1101, |
4193 "GL_FASTEST", | 4193 "GL_FASTEST", |
4194 }, | 4194 }, |
4195 { | 4195 { |
4196 0x1102, | 4196 0x8251, |
4197 "GL_NICEST", | 4197 "GL_DEBUG_TYPE_OTHER_KHR", |
4198 }, | 4198 }, |
4199 { | 4199 { |
4200 0x8250, | 4200 0x8250, |
4201 "GL_DEBUG_TYPE_PERFORMANCE_KHR", | 4201 "GL_DEBUG_TYPE_PERFORMANCE_KHR", |
4202 }, | 4202 }, |
4203 { | 4203 { |
4204 0x8CEB, | 4204 0x8CEB, |
4205 "GL_COLOR_ATTACHMENT11_EXT", | 4205 "GL_COLOR_ATTACHMENT11_EXT", |
4206 }, | 4206 }, |
4207 { | 4207 { |
(...skipping 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5786 | 5786 |
5787 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { | 5787 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { |
5788 static const EnumToString string_table[] = { | 5788 static const EnumToString string_table[] = { |
5789 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, | 5789 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, |
5790 }; | 5790 }; |
5791 return GLES2Util::GetQualifiedEnumString(string_table, | 5791 return GLES2Util::GetQualifiedEnumString(string_table, |
5792 arraysize(string_table), value); | 5792 arraysize(string_table), value); |
5793 } | 5793 } |
5794 | 5794 |
5795 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ | 5795 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ |
OLD | NEW |