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

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

Issue 896723008: Add OrderingBarrierCHROMIUM API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits. Created 5 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/gl2chromium_autogen.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 3003 matching lines...) Expand 10 before | Expand all | Expand 10 after
3014 'chromium': True, 3014 'chromium': True,
3015 'client_test': False, 3015 'client_test': False,
3016 }, 3016 },
3017 'ShallowFlushCHROMIUM': { 3017 'ShallowFlushCHROMIUM': {
3018 'impl_func': False, 3018 'impl_func': False,
3019 'gen_cmd': False, 3019 'gen_cmd': False,
3020 'extension': True, 3020 'extension': True,
3021 'chromium': True, 3021 'chromium': True,
3022 'client_test': False, 3022 'client_test': False,
3023 }, 3023 },
3024 'OrderingBarrierCHROMIUM': {
3025 'impl_func': False,
3026 'gen_cmd': False,
3027 'extension': True,
3028 'chromium': True,
3029 'client_test': False,
3030 },
3024 'TraceBeginCHROMIUM': { 3031 'TraceBeginCHROMIUM': {
3025 'type': 'Custom', 3032 'type': 'Custom',
3026 'impl_func': False, 3033 'impl_func': False,
3027 'client_test': False, 3034 'client_test': False,
3028 'cmd_args': 'GLuint category_bucket_id, GLuint name_bucket_id', 3035 'cmd_args': 'GLuint category_bucket_id, GLuint name_bucket_id',
3029 'extension': True, 3036 'extension': True,
3030 'chromium': True, 3037 'chromium': True,
3031 }, 3038 },
3032 'TraceEndCHROMIUM': { 3039 'TraceEndCHROMIUM': {
3033 'impl_func': False, 3040 'impl_func': False,
(...skipping 7064 matching lines...) Expand 10 before | Expand all | Expand 10 after
10098 Format(gen.generated_cpp_filenames) 10105 Format(gen.generated_cpp_filenames)
10099 10106
10100 if gen.errors > 0: 10107 if gen.errors > 0:
10101 print "%d errors" % gen.errors 10108 print "%d errors" % gen.errors
10102 return 1 10109 return 1
10103 return 0 10110 return 0
10104 10111
10105 10112
10106 if __name__ == '__main__': 10113 if __name__ == '__main__':
10107 sys.exit(main(sys.argv[1:])) 10114 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.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