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

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

Issue 1988303002: Fix depth texture sampling on compatibility profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/service/gles2_cmd_decoder.cc » ('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 2426 matching lines...) Expand 10 before | Expand all | Expand 10 after
2437 'decoder_func': 'DoBindSampler', 2437 'decoder_func': 'DoBindSampler',
2438 'unsafe': True, 2438 'unsafe': True,
2439 'use_helper': True, 2439 'use_helper': True,
2440 }, 2440 },
2441 'BindTexture': { 2441 'BindTexture': {
2442 'type': 'Bind', 2442 'type': 'Bind',
2443 'decoder_func': 'DoBindTexture', 2443 'decoder_func': 'DoBindTexture',
2444 'gen_func': 'GenTextures', 2444 'gen_func': 'GenTextures',
2445 # TODO: remove this once client side caching works. 2445 # TODO: remove this once client side caching works.
2446 'client_test': False, 2446 'client_test': False,
2447 'unit_test': False,
2447 'trace_level': 2, 2448 'trace_level': 2,
2448 }, 2449 },
2449 'BindTransformFeedback': { 2450 'BindTransformFeedback': {
2450 'type': 'Bind', 2451 'type': 'Bind',
2451 'decoder_func': 'DoBindTransformFeedback', 2452 'decoder_func': 'DoBindTransformFeedback',
2452 'unsafe': True, 2453 'unsafe': True,
2453 'use_helper': True, 2454 'use_helper': True,
2454 'unit_test': False, 2455 'unit_test': False,
2455 }, 2456 },
2456 'BlitFramebufferCHROMIUM': { 2457 'BlitFramebufferCHROMIUM': {
(...skipping 9073 matching lines...) Expand 10 before | Expand all | Expand 10 after
11530 Format(gen.generated_cpp_filenames) 11531 Format(gen.generated_cpp_filenames)
11531 11532
11532 if gen.errors > 0: 11533 if gen.errors > 0:
11533 print "%d errors" % gen.errors 11534 print "%d errors" % gen.errors
11534 return 1 11535 return 1
11535 return 0 11536 return 0
11536 11537
11537 11538
11538 if __name__ == '__main__': 11539 if __name__ == '__main__':
11539 sys.exit(main(sys.argv[1:])) 11540 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698