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

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

Issue 9968113: Addition of GL_CHROMIUM_copy_texture extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Adding extension implementation files. Created 8 years, 8 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
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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 { 0x8ED5, "GL_COVERAGE_ALL_FRAGMENTS_NV", }, 217 { 0x8ED5, "GL_COVERAGE_ALL_FRAGMENTS_NV", },
218 { 0x8ED4, "GL_COVERAGE_SAMPLES_NV", }, 218 { 0x8ED4, "GL_COVERAGE_SAMPLES_NV", },
219 { 0x8ED3, "GL_COVERAGE_BUFFERS_NV", }, 219 { 0x8ED3, "GL_COVERAGE_BUFFERS_NV", },
220 { 0x8ED2, "GL_COVERAGE_ATTACHMENT_NV", }, 220 { 0x8ED2, "GL_COVERAGE_ATTACHMENT_NV", },
221 { 0x8ED1, "GL_COVERAGE_COMPONENT4_NV", }, 221 { 0x8ED1, "GL_COVERAGE_COMPONENT4_NV", },
222 { 0x8ED0, "GL_COVERAGE_COMPONENT_NV", }, 222 { 0x8ED0, "GL_COVERAGE_COMPONENT_NV", },
223 { 0x800B, "GL_FUNC_REVERSE_SUBTRACT", }, 223 { 0x800B, "GL_FUNC_REVERSE_SUBTRACT", },
224 { 0x00000400, "GL_STENCIL_BUFFER_BIT", }, 224 { 0x00000400, "GL_STENCIL_BUFFER_BIT", },
225 { 0x800A, "GL_FUNC_SUBTRACT", }, 225 { 0x800A, "GL_FUNC_SUBTRACT", },
226 { 0x8E2C, "GL_DEPTH_COMPONENT16_NONLINEAR_NV", }, 226 { 0x8E2C, "GL_DEPTH_COMPONENT16_NONLINEAR_NV", },
227 { 0x889F, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", }, 227 { 0x8508, "GL_DECR_WRAP", },
228 { 0x8006, "GL_FUNC_ADD", }, 228 { 0x8006, "GL_FUNC_ADD", },
229 { 0x8007, "GL_MIN_EXT", }, 229 { 0x8007, "GL_MIN_EXT", },
230 { 0x8004, "GL_ONE_MINUS_CONSTANT_ALPHA", }, 230 { 0x8004, "GL_ONE_MINUS_CONSTANT_ALPHA", },
231 { 0x8005, "GL_BLEND_COLOR", }, 231 { 0x8005, "GL_BLEND_COLOR", },
232 { 0x8002, "GL_ONE_MINUS_CONSTANT_COLOR", }, 232 { 0x8002, "GL_ONE_MINUS_CONSTANT_COLOR", },
233 { 0x8003, "GL_CONSTANT_ALPHA", }, 233 { 0x8003, "GL_CONSTANT_ALPHA", },
234 { 0x8000, "GL_COVERAGE_BUFFER_BIT_NV", }, 234 { 0x8000, "GL_COVERAGE_BUFFER_BIT_NV", },
235 { 0x8001, "GL_CONSTANT_COLOR", }, 235 { 0x8001, "GL_CONSTANT_COLOR", },
236 { 0x0204, "GL_GREATER", }, 236 { 0x0204, "GL_GREATER", },
237 { 0x0205, "GL_NOTEQUAL", }, 237 { 0x0205, "GL_NOTEQUAL", },
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 { 0x8DF3, "GL_LOW_INT", }, 292 { 0x8DF3, "GL_LOW_INT", },
293 { 0x8B53, "GL_INT_VEC2", }, 293 { 0x8B53, "GL_INT_VEC2", },
294 { 0x0C02, "GL_READ_BUFFER_NV", }, 294 { 0x0C02, "GL_READ_BUFFER_NV", },
295 { 0x9241, "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM", },
295 { 0x8B52, "GL_FLOAT_VEC4", }, 296 { 0x8B52, "GL_FLOAT_VEC4", },
296 { 0x9240, "GL_UNPACK_FLIP_Y_CHROMIUM", }, 297 { 0x9240, "GL_UNPACK_FLIP_Y_CHROMIUM", },
297 { 0x8B51, "GL_FLOAT_VEC3", }, 298 { 0x8B51, "GL_FLOAT_VEC3", },
298 { 0x8B50, "GL_FLOAT_VEC2", }, 299 { 0x8B50, "GL_FLOAT_VEC2", },
299 { 0x812F, "GL_CLAMP_TO_EDGE", }, 300 { 0x812F, "GL_CLAMP_TO_EDGE", },
300 { 0x86A3, "GL_COMPRESSED_TEXTURE_FORMATS", }, 301 { 0x86A3, "GL_COMPRESSED_TEXTURE_FORMATS", },
301 { 0x86A2, "GL_NUM_COMPRESSED_TEXTURE_FORMATS", }, 302 { 0x86A2, "GL_NUM_COMPRESSED_TEXTURE_FORMATS", },
302 { 0x0CF3, "GL_UNPACK_SKIP_ROWS", }, 303 { 0x0CF3, "GL_UNPACK_SKIP_ROWS", },
303 { 0x0CF2, "GL_UNPACK_ROW_LENGTH", }, 304 { 0x0CF2, "GL_UNPACK_ROW_LENGTH", },
304 { 0x140C, "GL_FIXED", }, 305 { 0x140C, "GL_FIXED", },
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 { 0x8CA7, "GL_RENDERBUFFER_BINDING", }, 491 { 0x8CA7, "GL_RENDERBUFFER_BINDING", },
491 { 0x8CA4, "GL_STENCIL_BACK_VALUE_MASK", }, 492 { 0x8CA4, "GL_STENCIL_BACK_VALUE_MASK", },
492 { 0x8CA5, "GL_STENCIL_BACK_WRITEMASK", }, 493 { 0x8CA5, "GL_STENCIL_BACK_WRITEMASK", },
493 { 0x8CA3, "GL_STENCIL_BACK_REF", }, 494 { 0x8CA3, "GL_STENCIL_BACK_REF", },
494 { 0x80CB, "GL_BLEND_SRC_ALPHA", }, 495 { 0x80CB, "GL_BLEND_SRC_ALPHA", },
495 { 0x80CA, "GL_BLEND_DST_ALPHA", }, 496 { 0x80CA, "GL_BLEND_DST_ALPHA", },
496 { 0x8CE4, "GL_COLOR_ATTACHMENT4_NV", }, 497 { 0x8CE4, "GL_COLOR_ATTACHMENT4_NV", },
497 { 0x8CD6, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT", }, 498 { 0x8CD6, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT", },
498 { 0x8253, "GL_GUILTY_CONTEXT_RESET_EXT", }, 499 { 0x8253, "GL_GUILTY_CONTEXT_RESET_EXT", },
499 { 0x8872, "GL_MAX_TEXTURE_IMAGE_UNITS", }, 500 { 0x8872, "GL_MAX_TEXTURE_IMAGE_UNITS", },
500 { 0x8508, "GL_DECR_WRAP", }, 501 { 0x889F, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", },
501 { 0x8507, "GL_INCR_WRAP", }, 502 { 0x8507, "GL_INCR_WRAP", },
502 { 0x8895, "GL_ELEMENT_ARRAY_BUFFER_BINDING", }, 503 { 0x8895, "GL_ELEMENT_ARRAY_BUFFER_BINDING", },
503 { 0x8894, "GL_ARRAY_BUFFER_BINDING", }, 504 { 0x8894, "GL_ARRAY_BUFFER_BINDING", },
504 { 0x8893, "GL_ELEMENT_ARRAY_BUFFER", }, 505 { 0x8893, "GL_ELEMENT_ARRAY_BUFFER", },
505 { 0x8892, "GL_ARRAY_BUFFER", }, 506 { 0x8892, "GL_ARRAY_BUFFER", },
506 { 0x8BD8, "GL_TEXTURE_IMAGE_VALID_QCOM", }, 507 { 0x8BD8, "GL_TEXTURE_IMAGE_VALID_QCOM", },
507 { 0x84D3, "GL_TEXTURE19", }, 508 { 0x84D3, "GL_TEXTURE19", },
508 { 0x84E8, "GL_MAX_RENDERBUFFER_SIZE", }, 509 { 0x84E8, "GL_MAX_RENDERBUFFER_SIZE", },
509 { 0x8370, "GL_MIRRORED_REPEAT", }, 510 { 0x8370, "GL_MIRRORED_REPEAT", },
510 { 0x84E0, "GL_ACTIVE_TEXTURE", }, 511 { 0x84E0, "GL_ACTIVE_TEXTURE", },
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 { GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT" }, 881 { GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT" },
881 }; 882 };
882 return GLES2Util::GetQualifiedEnumString( 883 return GLES2Util::GetQualifiedEnumString(
883 string_table, arraysize(string_table), value); 884 string_table, arraysize(string_table), value);
884 } 885 }
885 886
886 std::string GLES2Util::GetStringPixelStore(uint32 value) { 887 std::string GLES2Util::GetStringPixelStore(uint32 value) {
887 static EnumToString string_table[] = { 888 static EnumToString string_table[] = {
888 { GL_PACK_ALIGNMENT, "GL_PACK_ALIGNMENT" }, 889 { GL_PACK_ALIGNMENT, "GL_PACK_ALIGNMENT" },
889 { GL_UNPACK_ALIGNMENT, "GL_UNPACK_ALIGNMENT" }, 890 { GL_UNPACK_ALIGNMENT, "GL_UNPACK_ALIGNMENT" },
891 { GL_UNPACK_FLIP_Y_CHROMIUM, "GL_UNPACK_FLIP_Y_CHROMIUM" },
892 { GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM,
893 "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM" },
890 }; 894 };
891 return GLES2Util::GetQualifiedEnumString( 895 return GLES2Util::GetQualifiedEnumString(
892 string_table, arraysize(string_table), value); 896 string_table, arraysize(string_table), value);
893 } 897 }
894 898
895 std::string GLES2Util::GetStringPixelType(uint32 value) { 899 std::string GLES2Util::GetStringPixelType(uint32 value) {
896 static EnumToString string_table[] = { 900 static EnumToString string_table[] = {
897 { GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE" }, 901 { GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE" },
898 { GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5" }, 902 { GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5" },
899 { GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4" }, 903 { GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4" },
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 std::string GLES2Util::GetStringVertexPointer(uint32 value) { 1231 std::string GLES2Util::GetStringVertexPointer(uint32 value) {
1228 static EnumToString string_table[] = { 1232 static EnumToString string_table[] = {
1229 { GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER" }, 1233 { GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER" },
1230 }; 1234 };
1231 return GLES2Util::GetQualifiedEnumString( 1235 return GLES2Util::GetQualifiedEnumString(
1232 string_table, arraysize(string_table), value); 1236 string_table, arraysize(string_table), value);
1233 } 1237 }
1234 1238
1235 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 1239 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
1236 1240
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698