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

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

Issue 2934733002: Workaround for Intel 6xxx clear to 0/1 bug (Closed)
Patch Set: fix try-bot error Created 3 years, 6 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
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 2518 matching lines...) Expand 10 before | Expand all | Expand 10 after
2529 }, 2529 },
2530 'ClearBufferfi': { 2530 'ClearBufferfi': {
2531 'es3': True, 2531 'es3': True,
2532 'decoder_func': 'DoClearBufferfi', 2532 'decoder_func': 'DoClearBufferfi',
2533 'unit_test': False, 2533 'unit_test': False,
2534 'trace_level': 2, 2534 'trace_level': 2,
2535 }, 2535 },
2536 'ClearColor': { 2536 'ClearColor': {
2537 'type': 'StateSet', 2537 'type': 'StateSet',
2538 'state': 'ClearColor', 2538 'state': 'ClearColor',
2539 'decoder_func': 'DoClearColor',
2539 }, 2540 },
2540 'ClearDepthf': { 2541 'ClearDepthf': {
2541 'type': 'StateSet', 2542 'type': 'StateSet',
2542 'state': 'ClearDepthf', 2543 'state': 'ClearDepthf',
2543 'decoder_func': 'glClearDepth', 2544 'decoder_func': 'glClearDepth',
2544 'gl_test_func': 'glClearDepth', 2545 'gl_test_func': 'glClearDepth',
2545 'valid_args': { 2546 'valid_args': {
2546 '0': '0.5f' 2547 '0': '0.5f'
2547 }, 2548 },
2548 }, 2549 },
(...skipping 8756 matching lines...) Expand 10 before | Expand all | Expand 10 after
11305 Format(gen.generated_cpp_filenames) 11306 Format(gen.generated_cpp_filenames)
11306 11307
11307 if gen.errors > 0: 11308 if gen.errors > 0:
11308 print "%d errors" % gen.errors 11309 print "%d errors" % gen.errors
11309 return 1 11310 return 1
11310 return 0 11311 return 0
11311 11312
11312 11313
11313 if __name__ == '__main__': 11314 if __name__ == '__main__':
11314 sys.exit(main(sys.argv[1:])) 11315 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/config/gpu_driver_bug_list.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698