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

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

Issue 2263593003: Remove GenMailboxCHROMIUM command (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autogen_create_and_consume
Patch Set: Created 4 years, 4 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_format.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 2914 matching lines...) Expand 10 before | Expand all | Expand 10 after
2925 'gl_test_func': 'glGenerateMipmapEXT', 2925 'gl_test_func': 'glGenerateMipmapEXT',
2926 'trace_level': 1, 2926 'trace_level': 1,
2927 }, 2927 },
2928 'GenBuffers': { 2928 'GenBuffers': {
2929 'type': 'GENn', 2929 'type': 'GENn',
2930 'gl_test_func': 'glGenBuffersARB', 2930 'gl_test_func': 'glGenBuffersARB',
2931 'resource_type': 'Buffer', 2931 'resource_type': 'Buffer',
2932 'resource_types': 'Buffers', 2932 'resource_types': 'Buffers',
2933 }, 2933 },
2934 'GenMailboxCHROMIUM': { 2934 'GenMailboxCHROMIUM': {
2935 'type': 'HandWritten', 2935 'type': 'Manual',
2936 'gen_cmd': 'False',
2936 'impl_func': False, 2937 'impl_func': False,
2937 'extension': "CHROMIUM_texture_mailbox", 2938 'extension': "CHROMIUM_texture_mailbox",
2938 'chromium': True, 2939 'chromium': True,
2939 }, 2940 },
2940 'GenFramebuffers': { 2941 'GenFramebuffers': {
2941 'type': 'GENn', 2942 'type': 'GENn',
2942 'gl_test_func': 'glGenFramebuffersEXT', 2943 'gl_test_func': 'glGenFramebuffersEXT',
2943 'resource_type': 'Framebuffer', 2944 'resource_type': 'Framebuffer',
2944 'resource_types': 'Framebuffers', 2945 'resource_types': 'Framebuffers',
2945 }, 2946 },
(...skipping 8620 matching lines...) Expand 10 before | Expand all | Expand 10 after
11566 Format(gen.generated_cpp_filenames) 11567 Format(gen.generated_cpp_filenames)
11567 11568
11568 if gen.errors > 0: 11569 if gen.errors > 0:
11569 print "%d errors" % gen.errors 11570 print "%d errors" % gen.errors
11570 return 1 11571 return 1
11571 return 0 11572 return 0
11572 11573
11573 11574
11574 if __name__ == '__main__': 11575 if __name__ == '__main__':
11575 sys.exit(main(sys.argv[1:])) 11576 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/common/gles2_cmd_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698