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

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

Issue 2182443003: WebGL 2: Fix bugs in negativetextureapi.html for Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed zmo's feedback 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
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 2629 matching lines...) Expand 10 before | Expand all | Expand 10 after
2640 'trace_level': 1, 2640 'trace_level': 1,
2641 }, 2641 },
2642 'CompressedTexSubImage3D': { 2642 'CompressedTexSubImage3D': {
2643 'type': 'Data', 2643 'type': 'Data',
2644 'data_transfer_methods': ['bucket', 'shm'], 2644 'data_transfer_methods': ['bucket', 'shm'],
2645 'decoder_func': 'DoCompressedTexSubImage3D', 2645 'decoder_func': 'DoCompressedTexSubImage3D',
2646 'unsafe': True, 2646 'unsafe': True,
2647 'trace_level': 1, 2647 'trace_level': 1,
2648 }, 2648 },
2649 'CopyTexSubImage3D': { 2649 'CopyTexSubImage3D': {
2650 'decoder_func': 'DoCopyTexSubImage3D',
2651 'unit_test': False,
2650 'defer_reads': True, 2652 'defer_reads': True,
2651 'unsafe': True, 2653 'unsafe': True,
2652 'trace_level': 1, 2654 'trace_level': 1,
2653 }, 2655 },
2654 'CreateImageCHROMIUM': { 2656 'CreateImageCHROMIUM': {
2655 'type': 'Manual', 2657 'type': 'Manual',
2656 'cmd_args': 2658 'cmd_args':
2657 'ClientBuffer buffer, GLsizei width, GLsizei height, ' 2659 'ClientBuffer buffer, GLsizei width, GLsizei height, '
2658 'GLenum internalformat', 2660 'GLenum internalformat',
2659 'result': ['GLuint'], 2661 'result': ['GLuint'],
(...skipping 8889 matching lines...) Expand 10 before | Expand all | Expand 10 after
11549 Format(gen.generated_cpp_filenames) 11551 Format(gen.generated_cpp_filenames)
11550 11552
11551 if gen.errors > 0: 11553 if gen.errors > 0:
11552 print "%d errors" % gen.errors 11554 print "%d errors" % gen.errors
11553 return 1 11555 return 1
11554 return 0 11556 return 0
11555 11557
11556 11558
11557 if __name__ == '__main__': 11559 if __name__ == '__main__':
11558 sys.exit(main(sys.argv[1:])) 11560 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/webgl2_conformance_expectations.py ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698