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

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

Issue 1419733005: gpu: Add YCbCr 420v extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually enable/disable capabilities. Typo. Created 5 years 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 | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('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 1931 matching lines...) Expand 10 before | Expand all | Expand 10 after
1942 'GL_LUMINANCE32F_EXT', 1942 'GL_LUMINANCE32F_EXT',
1943 'GL_LUMINANCE_ALPHA32F_EXT', 1943 'GL_LUMINANCE_ALPHA32F_EXT',
1944 ], 1944 ],
1945 }, 1945 },
1946 'ImageInternalFormat': { 1946 'ImageInternalFormat': {
1947 'type': 'GLenum', 1947 'type': 'GLenum',
1948 'valid': [ 1948 'valid': [
1949 'GL_RGB', 1949 'GL_RGB',
1950 'GL_RGB_YUV_420_CHROMIUM', 1950 'GL_RGB_YUV_420_CHROMIUM',
1951 'GL_RGB_YCBCR_422_CHROMIUM', 1951 'GL_RGB_YCBCR_422_CHROMIUM',
1952 'GL_RGB_YCBCR_420V_CHROMIUM',
1952 'GL_RGBA', 1953 'GL_RGBA',
1953 ], 1954 ],
1954 }, 1955 },
1955 'ImageUsage': { 1956 'ImageUsage': {
1956 'type': 'GLenum', 1957 'type': 'GLenum',
1957 'valid': [ 1958 'valid': [
1958 'GL_READ_WRITE_CHROMIUM', 1959 'GL_READ_WRITE_CHROMIUM',
1959 ], 1960 ],
1960 }, 1961 },
1961 'ValueBufferTarget': { 1962 'ValueBufferTarget': {
(...skipping 9240 matching lines...) Expand 10 before | Expand all | Expand 10 after
11202 Format(gen.generated_cpp_filenames) 11203 Format(gen.generated_cpp_filenames)
11203 11204
11204 if gen.errors > 0: 11205 if gen.errors > 0:
11205 print "%d errors" % gen.errors 11206 print "%d errors" % gen.errors
11206 return 1 11207 return 1
11207 return 0 11208 return 0
11208 11209
11209 11210
11210 if __name__ == '__main__': 11211 if __name__ == '__main__':
11211 sys.exit(main(sys.argv[1:])) 11212 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698