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

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

Issue 864513004: gpu: introduce glCopySubTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nits Created 5 years, 11 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 2748 matching lines...) Expand 10 before | Expand all | Expand 10 after
2759 'unit_test': False, 2759 'unit_test': False,
2760 'extension': True, 2760 'extension': True,
2761 'chromium': True, 2761 'chromium': True,
2762 }, 2762 },
2763 'CopyTextureCHROMIUM': { 2763 'CopyTextureCHROMIUM': {
2764 'decoder_func': 'DoCopyTextureCHROMIUM', 2764 'decoder_func': 'DoCopyTextureCHROMIUM',
2765 'unit_test': False, 2765 'unit_test': False,
2766 'extension': True, 2766 'extension': True,
2767 'chromium': True, 2767 'chromium': True,
2768 }, 2768 },
2769 'CopySubTextureCHROMIUM': {
2770 'decoder_func': 'DoCopySubTextureCHROMIUM',
2771 'unit_test': False,
2772 'extension': True,
2773 'chromium': True,
2774 },
2769 'TexStorage2DEXT': { 2775 'TexStorage2DEXT': {
2770 'unit_test': False, 2776 'unit_test': False,
2771 'extension': True, 2777 'extension': True,
2772 'decoder_func': 'DoTexStorage2DEXT', 2778 'decoder_func': 'DoTexStorage2DEXT',
2773 }, 2779 },
2774 'DrawArraysInstancedANGLE': { 2780 'DrawArraysInstancedANGLE': {
2775 'type': 'Manual', 2781 'type': 'Manual',
2776 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' 2782 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, '
2777 'GLsizei primcount', 2783 'GLsizei primcount',
2778 'extension': True, 2784 'extension': True,
(...skipping 6630 matching lines...) Expand 10 before | Expand all | Expand 10 after
9409 Format(gen.generated_cpp_filenames) 9415 Format(gen.generated_cpp_filenames)
9410 9416
9411 if gen.errors > 0: 9417 if gen.errors > 0:
9412 print "%d errors" % gen.errors 9418 print "%d errors" % gen.errors
9413 return 1 9419 return 1
9414 return 0 9420 return 0
9415 9421
9416 9422
9417 if __name__ == '__main__': 9423 if __name__ == '__main__':
9418 sys.exit(main(sys.argv[1:])) 9424 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698