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

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

Issue 1684173002: Add GL_RGB_YCBCR_422_CHROMIUM to the list of valid filterable formats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better fix from Mo Created 4 years, 10 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
« no previous file with comments | « no previous file | gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.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/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 itertools 8 import itertools
9 import os 9 import os
10 import os.path 10 import os.path
(...skipping 2004 matching lines...) Expand 10 before | Expand all | Expand 10 after
2015 'GL_R11F_G11F_B10F', 2015 'GL_R11F_G11F_B10F',
2016 'GL_RGB9_E5', 2016 'GL_RGB9_E5',
2017 'GL_RGB16F', 2017 'GL_RGB16F',
2018 'GL_RGBA8', 2018 'GL_RGBA8',
2019 'GL_SRGB8_ALPHA8', 2019 'GL_SRGB8_ALPHA8',
2020 'GL_RGBA8_SNORM', 2020 'GL_RGBA8_SNORM',
2021 'GL_RGB5_A1', 2021 'GL_RGB5_A1',
2022 'GL_RGBA4', 2022 'GL_RGBA4',
2023 'GL_RGB10_A2', 2023 'GL_RGB10_A2',
2024 'GL_RGBA16F', 2024 'GL_RGBA16F',
2025 'GL_RGB_YUV_420_CHROMIUM',
2026 'GL_RGB_YCBCR_422_CHROMIUM',
2027 'GL_RGB_YCBCR_420V_CHROMIUM',
2025 ], 2028 ],
2026 }, 2029 },
2027 'TextureInternalFormatStorage': { 2030 'TextureInternalFormatStorage': {
2028 'type': 'GLenum', 2031 'type': 'GLenum',
2029 'valid': [ 2032 'valid': [
2030 'GL_RGB565', 2033 'GL_RGB565',
2031 'GL_RGBA4', 2034 'GL_RGBA4',
2032 'GL_RGB5_A1', 2035 'GL_RGB5_A1',
2033 'GL_ALPHA8_EXT', 2036 'GL_ALPHA8_EXT',
2034 'GL_LUMINANCE8_EXT', 2037 'GL_LUMINANCE8_EXT',
(...skipping 9516 matching lines...) Expand 10 before | Expand all | Expand 10 after
11551 Format(gen.generated_cpp_filenames) 11554 Format(gen.generated_cpp_filenames)
11552 11555
11553 if gen.errors > 0: 11556 if gen.errors > 0:
11554 print "%d errors" % gen.errors 11557 print "%d errors" % gen.errors
11555 return 1 11558 return 1
11556 return 0 11559 return 0
11557 11560
11558 11561
11559 if __name__ == '__main__': 11562 if __name__ == '__main__':
11560 sys.exit(main(sys.argv[1:])) 11563 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698