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

Side by Side Diff: gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h

Issue 10535174: Addition of unpremultiply setting to GL_CHROMIUM_copy_texture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Addressing review comments. Created 8 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 | Annotate | Revision Log
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/service/gl_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 9 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
10 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 10 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 { 0x8B56, "GL_BOOL", }, 284 { 0x8B56, "GL_BOOL", },
285 { 0x8B9B, "GL_IMPLEMENTATION_COLOR_READ_FORMAT", }, 285 { 0x8B9B, "GL_IMPLEMENTATION_COLOR_READ_FORMAT", },
286 { 0x8B9A, "GL_IMPLEMENTATION_COLOR_READ_TYPE", }, 286 { 0x8B9A, "GL_IMPLEMENTATION_COLOR_READ_TYPE", },
287 { 0x8823, "GL_WRITEONLY_RENDERING_QCOM", }, 287 { 0x8823, "GL_WRITEONLY_RENDERING_QCOM", },
288 { 0x1908, "GL_RGBA", }, 288 { 0x1908, "GL_RGBA", },
289 { 0x8DF2, "GL_HIGH_FLOAT", }, 289 { 0x8DF2, "GL_HIGH_FLOAT", },
290 { 0x8826, "GL_DRAW_BUFFER1_NV", }, 290 { 0x8826, "GL_DRAW_BUFFER1_NV", },
291 { 0x8827, "GL_DRAW_BUFFER2_NV", }, 291 { 0x8827, "GL_DRAW_BUFFER2_NV", },
292 { 0x9243, "GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM", }, 292 { 0x9243, "GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM", },
293 { 0x8DF3, "GL_LOW_INT", }, 293 { 0x8DF3, "GL_LOW_INT", },
294 { 0x9242, "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM", },
294 { 0x8B53, "GL_INT_VEC2", }, 295 { 0x8B53, "GL_INT_VEC2", },
295 { 0x0C02, "GL_READ_BUFFER_NV", }, 296 { 0x0C02, "GL_READ_BUFFER_NV", },
296 { 0x9241, "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM", }, 297 { 0x9241, "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM", },
297 { 0x8B52, "GL_FLOAT_VEC4", }, 298 { 0x8B52, "GL_FLOAT_VEC4", },
298 { 0x9240, "GL_UNPACK_FLIP_Y_CHROMIUM", }, 299 { 0x9240, "GL_UNPACK_FLIP_Y_CHROMIUM", },
299 { 0x8B51, "GL_FLOAT_VEC3", }, 300 { 0x8B51, "GL_FLOAT_VEC3", },
300 { 0x8B50, "GL_FLOAT_VEC2", }, 301 { 0x8B50, "GL_FLOAT_VEC2", },
301 { 0x812F, "GL_CLAMP_TO_EDGE", }, 302 { 0x812F, "GL_CLAMP_TO_EDGE", },
302 { 0x86A3, "GL_COMPRESSED_TEXTURE_FORMATS", }, 303 { 0x86A3, "GL_COMPRESSED_TEXTURE_FORMATS", },
303 { 0x86A2, "GL_NUM_COMPRESSED_TEXTURE_FORMATS", }, 304 { 0x86A2, "GL_NUM_COMPRESSED_TEXTURE_FORMATS", },
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 { GL_STENCIL_PASS_DEPTH_FAIL, "GL_STENCIL_PASS_DEPTH_FAIL" }, 823 { GL_STENCIL_PASS_DEPTH_FAIL, "GL_STENCIL_PASS_DEPTH_FAIL" },
823 { GL_STENCIL_PASS_DEPTH_PASS, "GL_STENCIL_PASS_DEPTH_PASS" }, 824 { GL_STENCIL_PASS_DEPTH_PASS, "GL_STENCIL_PASS_DEPTH_PASS" },
824 { GL_STENCIL_REF, "GL_STENCIL_REF" }, 825 { GL_STENCIL_REF, "GL_STENCIL_REF" },
825 { GL_STENCIL_TEST, "GL_STENCIL_TEST" }, 826 { GL_STENCIL_TEST, "GL_STENCIL_TEST" },
826 { GL_STENCIL_VALUE_MASK, "GL_STENCIL_VALUE_MASK" }, 827 { GL_STENCIL_VALUE_MASK, "GL_STENCIL_VALUE_MASK" },
827 { GL_STENCIL_WRITEMASK, "GL_STENCIL_WRITEMASK" }, 828 { GL_STENCIL_WRITEMASK, "GL_STENCIL_WRITEMASK" },
828 { GL_SUBPIXEL_BITS, "GL_SUBPIXEL_BITS" }, 829 { GL_SUBPIXEL_BITS, "GL_SUBPIXEL_BITS" },
829 { GL_TEXTURE_BINDING_2D, "GL_TEXTURE_BINDING_2D" }, 830 { GL_TEXTURE_BINDING_2D, "GL_TEXTURE_BINDING_2D" },
830 { GL_TEXTURE_BINDING_CUBE_MAP, "GL_TEXTURE_BINDING_CUBE_MAP" }, 831 { GL_TEXTURE_BINDING_CUBE_MAP, "GL_TEXTURE_BINDING_CUBE_MAP" },
831 { GL_UNPACK_ALIGNMENT, "GL_UNPACK_ALIGNMENT" }, 832 { GL_UNPACK_ALIGNMENT, "GL_UNPACK_ALIGNMENT" },
833 { GL_UNPACK_FLIP_Y_CHROMIUM, "GL_UNPACK_FLIP_Y_CHROMIUM" },
834 { GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM,
835 "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM" },
836 { GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM,
837 "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM" },
832 { GL_VIEWPORT, "GL_VIEWPORT" }, 838 { GL_VIEWPORT, "GL_VIEWPORT" },
833 }; 839 };
834 return GLES2Util::GetQualifiedEnumString( 840 return GLES2Util::GetQualifiedEnumString(
835 string_table, arraysize(string_table), value); 841 string_table, arraysize(string_table), value);
836 } 842 }
837 843
838 std::string GLES2Util::GetStringGetMaxIndexType(uint32 value) { 844 std::string GLES2Util::GetStringGetMaxIndexType(uint32 value) {
839 static EnumToString string_table[] = { 845 static EnumToString string_table[] = {
840 { GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE" }, 846 { GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE" },
841 { GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT" }, 847 { GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT" },
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 string_table, arraysize(string_table), value); 892 string_table, arraysize(string_table), value);
887 } 893 }
888 894
889 std::string GLES2Util::GetStringPixelStore(uint32 value) { 895 std::string GLES2Util::GetStringPixelStore(uint32 value) {
890 static EnumToString string_table[] = { 896 static EnumToString string_table[] = {
891 { GL_PACK_ALIGNMENT, "GL_PACK_ALIGNMENT" }, 897 { GL_PACK_ALIGNMENT, "GL_PACK_ALIGNMENT" },
892 { GL_UNPACK_ALIGNMENT, "GL_UNPACK_ALIGNMENT" }, 898 { GL_UNPACK_ALIGNMENT, "GL_UNPACK_ALIGNMENT" },
893 { GL_UNPACK_FLIP_Y_CHROMIUM, "GL_UNPACK_FLIP_Y_CHROMIUM" }, 899 { GL_UNPACK_FLIP_Y_CHROMIUM, "GL_UNPACK_FLIP_Y_CHROMIUM" },
894 { GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM, 900 { GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM,
895 "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM" }, 901 "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM" },
902 { GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM,
903 "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM" },
896 }; 904 };
897 return GLES2Util::GetQualifiedEnumString( 905 return GLES2Util::GetQualifiedEnumString(
898 string_table, arraysize(string_table), value); 906 string_table, arraysize(string_table), value);
899 } 907 }
900 908
901 std::string GLES2Util::GetStringPixelType(uint32 value) { 909 std::string GLES2Util::GetStringPixelType(uint32 value) {
902 static EnumToString string_table[] = { 910 static EnumToString string_table[] = {
903 { GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE" }, 911 { GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE" },
904 { GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5" }, 912 { GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5" },
905 { GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4" }, 913 { GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4" },
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 std::string GLES2Util::GetStringVertexPointer(uint32 value) { 1252 std::string GLES2Util::GetStringVertexPointer(uint32 value) {
1245 static EnumToString string_table[] = { 1253 static EnumToString string_table[] = {
1246 { GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER" }, 1254 { GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER" },
1247 }; 1255 };
1248 return GLES2Util::GetQualifiedEnumString( 1256 return GLES2Util::GetQualifiedEnumString(
1249 string_table, arraysize(string_table), value); 1257 string_table, arraysize(string_table), value);
1250 } 1258 }
1251 1259
1252 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 1260 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
1253 1261
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/service/gl_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698