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

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

Issue 793693003: Tile Compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('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 2510 matching lines...) Expand 10 before | Expand all | Expand 10 after
2521 'unit_test': False, 2521 'unit_test': False,
2522 'extension': True, 2522 'extension': True,
2523 'chromium': True, 2523 'chromium': True,
2524 }, 2524 },
2525 'CopyTextureCHROMIUM': { 2525 'CopyTextureCHROMIUM': {
2526 'decoder_func': 'DoCopyTextureCHROMIUM', 2526 'decoder_func': 'DoCopyTextureCHROMIUM',
2527 'unit_test': False, 2527 'unit_test': False,
2528 'extension': True, 2528 'extension': True,
2529 'chromium': True, 2529 'chromium': True,
2530 }, 2530 },
2531 'CopyCompressedTextureCHROMIUM': {
2532 'decoder_func': 'DoCopyCompressedTextureCHROMIUM',
2533 'unit_test': False,
2534 'extension': True,
2535 'chromium': True,
2536 },
2531 'TexStorage2DEXT': { 2537 'TexStorage2DEXT': {
2532 'unit_test': False, 2538 'unit_test': False,
2533 'extension': True, 2539 'extension': True,
2534 'decoder_func': 'DoTexStorage2DEXT', 2540 'decoder_func': 'DoTexStorage2DEXT',
2535 }, 2541 },
2536 'DrawArraysInstancedANGLE': { 2542 'DrawArraysInstancedANGLE': {
2537 'type': 'Manual', 2543 'type': 'Manual',
2538 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' 2544 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, '
2539 'GLsizei primcount', 2545 'GLsizei primcount',
2540 'extension': True, 2546 'extension': True,
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
2745 'cmd_args': 'GLenumTextureTarget target, GLint level, ' 2751 'cmd_args': 'GLenumTextureTarget target, GLint level, '
2746 'GLint xoffset, GLint yoffset, ' 2752 'GLint xoffset, GLint yoffset, '
2747 'GLsizei width, GLsizei height, ' 2753 'GLsizei width, GLsizei height, '
2748 'GLenumTextureFormat format, GLenumPixelType type, ' 2754 'GLenumTextureFormat format, GLenumPixelType type, '
2749 'const void* data, ' 2755 'const void* data, '
2750 'uint32_t async_upload_token, ' 2756 'uint32_t async_upload_token, '
2751 'void* sync_data', 2757 'void* sync_data',
2752 'extension': True, 2758 'extension': True,
2753 'chromium': True, 2759 'chromium': True,
2754 }, 2760 },
2761 'AsyncCompressedTexImage2DCHROMIUM': {
2762 'type': 'Manual',
2763 'data_transfer_methods': ['shm'],
2764 'client_test': False,
2765 'cmd_args': 'GLenumTextureTarget target, GLint level, '
2766 'GLintTextureInternalFormat internalformat, '
2767 'GLsizei width, GLsizei height, '
2768 'GLintTextureBorder border, '
2769 'GLsizei imagesize, '
2770 'const void* pixels, '
2771 'uint32_t async_upload_token, '
2772 'void* sync_data',
2773 'extension': True,
2774 'chromium': True,
2775 },
2776 'AsyncCompressedTexSubImage2DCHROMIUM': {
2777 'type': 'Manual',
2778 'data_transfer_methods': ['shm'],
2779 'client_test': False,
2780 'cmd_args': 'GLenumTextureTarget target, GLint level, '
2781 'GLint xoffset, GLint yoffset, '
2782 'GLsizei width, GLsizei height, '
2783 'GLenumTextureFormat format, GLsizei imagesize, '
2784 'const void* data, '
2785 'uint32_t async_upload_token, '
2786 'void* sync_data',
2787 'extension': True,
2788 'chromium': True,
2789 },
2755 'WaitAsyncTexImage2DCHROMIUM': { 2790 'WaitAsyncTexImage2DCHROMIUM': {
2756 'type': 'Manual', 2791 'type': 'Manual',
2757 'client_test': False, 2792 'client_test': False,
2758 'extension': True, 2793 'extension': True,
2759 'chromium': True, 2794 'chromium': True,
2760 }, 2795 },
2761 'WaitAllAsyncTexImage2DCHROMIUM': { 2796 'WaitAllAsyncTexImage2DCHROMIUM': {
2762 'type': 'Manual', 2797 'type': 'Manual',
2763 'client_test': False, 2798 'client_test': False,
2764 'extension': True, 2799 'extension': True,
(...skipping 6151 matching lines...) Expand 10 before | Expand all | Expand 10 after
8916 Format(gen.generated_cpp_filenames) 8951 Format(gen.generated_cpp_filenames)
8917 8952
8918 if gen.errors > 0: 8953 if gen.errors > 0:
8919 print "%d errors" % gen.errors 8954 print "%d errors" % gen.errors
8920 return 1 8955 return 1
8921 return 0 8956 return 0
8922 8957
8923 8958
8924 if __name__ == '__main__': 8959 if __name__ == '__main__':
8925 sys.exit(main(sys.argv[1:])) 8960 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698