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

Side by Side Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 8513017: Add GL_ANGLE_pack_reverse_row_order to command buffer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/GLES2/gl2ext.h ('k') | gpu/command_buffer/client/gles2_implementation.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 #!/usr/bin/python 1 #!/usr/bin/python
2 # 2 #
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """code generator for GLES2 command buffers.""" 7 """code generator for GLES2 command buffers."""
8 8
9 import os 9 import os
10 import os.path 10 import os.path
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 'GL_MAX_TEXTURE_IMAGE_UNITS', 539 'GL_MAX_TEXTURE_IMAGE_UNITS',
540 'GL_MAX_TEXTURE_SIZE', 540 'GL_MAX_TEXTURE_SIZE',
541 'GL_MAX_VARYING_VECTORS', 541 'GL_MAX_VARYING_VECTORS',
542 'GL_MAX_VERTEX_ATTRIBS', 542 'GL_MAX_VERTEX_ATTRIBS',
543 'GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS', 543 'GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS',
544 'GL_MAX_VERTEX_UNIFORM_VECTORS', 544 'GL_MAX_VERTEX_UNIFORM_VECTORS',
545 'GL_MAX_VIEWPORT_DIMS', 545 'GL_MAX_VIEWPORT_DIMS',
546 'GL_NUM_COMPRESSED_TEXTURE_FORMATS', 546 'GL_NUM_COMPRESSED_TEXTURE_FORMATS',
547 'GL_NUM_SHADER_BINARY_FORMATS', 547 'GL_NUM_SHADER_BINARY_FORMATS',
548 'GL_PACK_ALIGNMENT', 548 'GL_PACK_ALIGNMENT',
549 'GL_PACK_FLIP_Y_ANGLE',
greggman 2011/11/17 19:56:54 This should not be here. You should check in gpu/s
549 'GL_POLYGON_OFFSET_FACTOR', 550 'GL_POLYGON_OFFSET_FACTOR',
550 'GL_POLYGON_OFFSET_FILL', 551 'GL_POLYGON_OFFSET_FILL',
551 'GL_POLYGON_OFFSET_UNITS', 552 'GL_POLYGON_OFFSET_UNITS',
552 'GL_RED_BITS', 553 'GL_RED_BITS',
553 'GL_RENDERBUFFER_BINDING', 554 'GL_RENDERBUFFER_BINDING',
554 'GL_SAMPLE_BUFFERS', 555 'GL_SAMPLE_BUFFERS',
555 'GL_SAMPLE_COVERAGE_INVERT', 556 'GL_SAMPLE_COVERAGE_INVERT',
556 'GL_SAMPLE_COVERAGE_VALUE', 557 'GL_SAMPLE_COVERAGE_VALUE',
557 'GL_SAMPLES', 558 'GL_SAMPLES',
558 'GL_SCISSOR_BOX', 559 'GL_SCISSOR_BOX',
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 'valid': [ 932 'valid': [
932 'GL_FASTEST', 933 'GL_FASTEST',
933 'GL_NICEST', 934 'GL_NICEST',
934 'GL_DONT_CARE', 935 'GL_DONT_CARE',
935 ], 936 ],
936 }, 937 },
937 'PixelStore': { 938 'PixelStore': {
938 'type': 'GLenum', 939 'type': 'GLenum',
939 'valid': [ 940 'valid': [
940 'GL_PACK_ALIGNMENT', 941 'GL_PACK_ALIGNMENT',
942 'GL_PACK_FLIP_Y_ANGLE',
greggman 2011/11/17 19:56:54 same as above
941 'GL_UNPACK_ALIGNMENT', 943 'GL_UNPACK_ALIGNMENT',
942 ], 944 ],
943 'invalid': [ 945 'invalid': [
944 'GL_PACK_SWAP_BYTES', 946 'GL_PACK_SWAP_BYTES',
945 'GL_UNPACK_SWAP_BYTES', 947 'GL_UNPACK_SWAP_BYTES',
946 ], 948 ],
947 }, 949 },
948 'PixelStoreAlignment': { 950 'PixelStoreAlignment': {
949 'type': 'GLint', 951 'type': 'GLint',
950 'valid': [ 952 'valid': [
(...skipping 5030 matching lines...) Expand 10 before | Expand all | Expand 10 after
5981 5983
5982 if options.generate_docs: 5984 if options.generate_docs:
5983 gen.WriteDocs("docs/gles2_cmd_format_docs_autogen.h") 5985 gen.WriteDocs("docs/gles2_cmd_format_docs_autogen.h")
5984 5986
5985 if gen.errors > 0: 5987 if gen.errors > 0:
5986 print "%d errors" % gen.errors 5988 print "%d errors" % gen.errors
5987 sys.exit(1) 5989 sys.exit(1)
5988 5990
5989 if __name__ == '__main__': 5991 if __name__ == '__main__':
5990 main(sys.argv[1:]) 5992 main(sys.argv[1:])
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2ext.h ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698