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

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

Issue 2482673002: fix --show-composited-layer-borders on Mac (Closed)
Patch Set: Created 4 years, 1 month 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
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 2722 matching lines...) Expand 10 before | Expand all | Expand 10 after
2733 }, 2733 },
2734 }, 2734 },
2735 'Hint': { 2735 'Hint': {
2736 'type': 'StateSetNamedParameter', 2736 'type': 'StateSetNamedParameter',
2737 'state': 'Hint', 2737 'state': 'Hint',
2738 }, 2738 },
2739 'CullFace': {'type': 'StateSet', 'state': 'CullFace'}, 2739 'CullFace': {'type': 'StateSet', 'state': 'CullFace'},
2740 'FrontFace': {'type': 'StateSet', 'state': 'FrontFace'}, 2740 'FrontFace': {'type': 'StateSet', 'state': 'FrontFace'},
2741 'DepthFunc': {'type': 'StateSet', 'state': 'DepthFunc'}, 2741 'DepthFunc': {'type': 'StateSet', 'state': 'DepthFunc'},
2742 'LineWidth': { 2742 'LineWidth': {
2743 'type': 'StateSet', 2743 'type': 'Custom',
piman 2016/11/07 19:38:01 Rather than using "Custom" which completely remove
2744 'state': 'LineWidth', 2744 'state': 'LineWidth',
2745 'decoder_func': 'DoLineWidth',
2746 'valid_args': { 2745 'valid_args': {
2747 '0': '2.0f' 2746 '0': '2.0f'
2748 }, 2747 },
2749 }, 2748 },
2750 'PolygonOffset': { 2749 'PolygonOffset': {
2751 'type': 'StateSet', 2750 'type': 'StateSet',
2752 'state': 'PolygonOffset', 2751 'state': 'PolygonOffset',
2753 }, 2752 },
2754 'DeleteBuffers': { 2753 'DeleteBuffers': {
2755 'type': 'DELn', 2754 'type': 'DELn',
(...skipping 8419 matching lines...) Expand 10 before | Expand all | Expand 10 after
11175 Format(gen.generated_cpp_filenames) 11174 Format(gen.generated_cpp_filenames)
11176 11175
11177 if gen.errors > 0: 11176 if gen.errors > 0:
11178 print "%d errors" % gen.errors 11177 print "%d errors" % gen.errors
11179 return 1 11178 return 1
11180 return 0 11179 return 0
11181 11180
11182 11181
11183 if __name__ == '__main__': 11182 if __name__ == '__main__':
11184 sys.exit(main(sys.argv[1:])) 11183 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698