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

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

Issue 2648893002: Remove remaining traces of CreateGpuMemoryBufferImageCHROMIUM (Closed)
Patch Set: Rebase, but don't pull in extra changes... Created 3 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 | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/client_test_helper.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 2128 matching lines...) Expand 10 before | Expand all | Expand 10 after
2139 'ImageInternalFormat': { 2139 'ImageInternalFormat': {
2140 'type': 'GLenum', 2140 'type': 'GLenum',
2141 'valid': [ 2141 'valid': [
2142 'GL_RGB', 2142 'GL_RGB',
2143 'GL_RGB_YCRCB_420_CHROMIUM', 2143 'GL_RGB_YCRCB_420_CHROMIUM',
2144 'GL_RGB_YCBCR_422_CHROMIUM', 2144 'GL_RGB_YCBCR_422_CHROMIUM',
2145 'GL_RGB_YCBCR_420V_CHROMIUM', 2145 'GL_RGB_YCBCR_420V_CHROMIUM',
2146 'GL_RGBA', 2146 'GL_RGBA',
2147 ], 2147 ],
2148 }, 2148 },
2149 'ImageUsage': {
2150 'type': 'GLenum',
2151 'valid': [
2152 'GL_READ_WRITE_CHROMIUM',
2153 ],
2154 },
2155 'UniformParameter': { 2149 'UniformParameter': {
2156 'type': 'GLenum', 2150 'type': 'GLenum',
2157 'is_complete': True, 2151 'is_complete': True,
2158 'valid': [ 2152 'valid': [
2159 'GL_UNIFORM_SIZE', 2153 'GL_UNIFORM_SIZE',
2160 'GL_UNIFORM_TYPE', 2154 'GL_UNIFORM_TYPE',
2161 'GL_UNIFORM_NAME_LENGTH', 2155 'GL_UNIFORM_NAME_LENGTH',
2162 'GL_UNIFORM_BLOCK_INDEX', 2156 'GL_UNIFORM_BLOCK_INDEX',
2163 'GL_UNIFORM_OFFSET', 2157 'GL_UNIFORM_OFFSET',
2164 'GL_UNIFORM_ARRAY_STRIDE', 2158 'GL_UNIFORM_ARRAY_STRIDE',
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
2663 'GLenum internalformat', 2657 'GLenum internalformat',
2664 'result': ['GLuint'], 2658 'result': ['GLuint'],
2665 'extension': "CHROMIUM_image", 2659 'extension': "CHROMIUM_image",
2666 'trace_level': 1, 2660 'trace_level': 1,
2667 }, 2661 },
2668 'DestroyImageCHROMIUM': { 2662 'DestroyImageCHROMIUM': {
2669 'type': 'NoCommand', 2663 'type': 'NoCommand',
2670 'extension': "CHROMIUM_image", 2664 'extension': "CHROMIUM_image",
2671 'trace_level': 1, 2665 'trace_level': 1,
2672 }, 2666 },
2673 'CreateGpuMemoryBufferImageCHROMIUM': {
2674 'type': 'NoCommand',
2675 'cmd_args':
2676 'GLsizei width, GLsizei height, GLenum internalformat, GLenum usage',
2677 'result': ['GLuint'],
2678 'extension': "CHROMIUM_gpu_memory_buffer_image",
2679 'trace_level': 1,
2680 },
2681 'DescheduleUntilFinishedCHROMIUM': { 2667 'DescheduleUntilFinishedCHROMIUM': {
2682 'type': 'Custom', 2668 'type': 'Custom',
2683 'decoder_func': 'DoDescheduleUntilFinishedCHROMIUM', 2669 'decoder_func': 'DoDescheduleUntilFinishedCHROMIUM',
2684 'extension': "CHROMIUM_deschedule", 2670 'extension': "CHROMIUM_deschedule",
2685 'trace_level': 1, 2671 'trace_level': 1,
2686 }, 2672 },
2687 'CreateProgram': { 2673 'CreateProgram': {
2688 'type': 'Create', 2674 'type': 'Create',
2689 'client_test': False, 2675 'client_test': False,
2690 }, 2676 },
(...skipping 8526 matching lines...) Expand 10 before | Expand all | Expand 10 after
11217 Format(gen.generated_cpp_filenames) 11203 Format(gen.generated_cpp_filenames)
11218 11204
11219 if gen.errors > 0: 11205 if gen.errors > 0:
11220 print "%d errors" % gen.errors 11206 print "%d errors" % gen.errors
11221 return 1 11207 return 1
11222 return 0 11208 return 0
11223 11209
11224 11210
11225 if __name__ == '__main__': 11211 if __name__ == '__main__':
11226 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/client_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698