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

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

Issue 962723002: Change CHROMIUM_image declarations to support multi planar input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reveman@ comments and const-corrected function signatures. Created 5 years, 9 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 1776 matching lines...) Expand 10 before | Expand all | Expand 10 after
1787 'decoder_func': 'DoCopyTexSubImage2D', 1787 'decoder_func': 'DoCopyTexSubImage2D',
1788 'defer_reads': True, 1788 'defer_reads': True,
1789 }, 1789 },
1790 'CopyTexSubImage3D': { 1790 'CopyTexSubImage3D': {
1791 'defer_reads': True, 1791 'defer_reads': True,
1792 'unsafe': True, 1792 'unsafe': True,
1793 }, 1793 },
1794 'CreateImageCHROMIUM': { 1794 'CreateImageCHROMIUM': {
1795 'type': 'Manual', 1795 'type': 'Manual',
1796 'cmd_args': 1796 'cmd_args':
1797 'ClientBuffer buffer, GLsizei width, GLsizei height, ' 1797 'const ClientBuffer* const buffers, GLsizei width, GLsizei height, '
1798 'GLenum internalformat', 1798 'GLenum internalformat',
1799 'result': ['GLuint'], 1799 'result': ['GLuint'],
1800 'client_test': False, 1800 'client_test': False,
1801 'gen_cmd': False, 1801 'gen_cmd': False,
1802 'expectation': False, 1802 'expectation': False,
1803 'extension': True, 1803 'extension': True,
1804 'chromium': True, 1804 'chromium': True,
1805 }, 1805 },
1806 'DestroyImageCHROMIUM': { 1806 'DestroyImageCHROMIUM': {
1807 'type': 'Manual', 1807 'type': 'Manual',
(...skipping 8438 matching lines...) Expand 10 before | Expand all | Expand 10 after
10246 Format(gen.generated_cpp_filenames) 10246 Format(gen.generated_cpp_filenames)
10247 10247
10248 if gen.errors > 0: 10248 if gen.errors > 0:
10249 print "%d errors" % gen.errors 10249 print "%d errors" % gen.errors
10250 return 1 10250 return 1
10251 return 0 10251 return 0
10252 10252
10253 10253
10254 if __name__ == '__main__': 10254 if __name__ == '__main__':
10255 sys.exit(main(sys.argv[1:])) 10255 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698