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

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

Issue 10535174: Addition of unpremultiply setting to GL_CHROMIUM_copy_texture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """code generator for GLES2 command buffers.""" 6 """code generator for GLES2 command buffers."""
7 7
8 import os 8 import os
9 import os.path 9 import os.path
10 import sys 10 import sys
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 'GL_DONT_CARE', 582 'GL_DONT_CARE',
583 ], 583 ],
584 }, 584 },
585 'PixelStore': { 585 'PixelStore': {
586 'type': 'GLenum', 586 'type': 'GLenum',
587 'valid': [ 587 'valid': [
588 'GL_PACK_ALIGNMENT', 588 'GL_PACK_ALIGNMENT',
589 'GL_UNPACK_ALIGNMENT', 589 'GL_UNPACK_ALIGNMENT',
590 'GL_UNPACK_FLIP_Y_CHROMIUM', 590 'GL_UNPACK_FLIP_Y_CHROMIUM',
591 'GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM', 591 'GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM',
592 'GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM',
592 ], 593 ],
593 'invalid': [ 594 'invalid': [
594 'GL_PACK_SWAP_BYTES', 595 'GL_PACK_SWAP_BYTES',
595 'GL_UNPACK_SWAP_BYTES', 596 'GL_UNPACK_SWAP_BYTES',
596 ], 597 ],
597 }, 598 },
598 'PixelStoreAlignment': { 599 'PixelStoreAlignment': {
599 'type': 'GLint', 600 'type': 'GLint',
600 'valid': [ 601 'valid': [
601 '1', 602 '1',
(...skipping 5658 matching lines...) Expand 10 before | Expand all | Expand 10 after
6260 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h") 6261 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h")
6261 6262
6262 if gen.errors > 0: 6263 if gen.errors > 0:
6263 print "%d errors" % gen.errors 6264 print "%d errors" % gen.errors
6264 return 1 6265 return 1
6265 return 0 6266 return 0
6266 6267
6267 6268
6268 if __name__ == '__main__': 6269 if __name__ == '__main__':
6269 sys.exit(main(sys.argv[1:])) 6270 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698