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

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

Issue 1309743005: command_buffer: Implement EXT_blend_func_extended (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase Created 5 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/gl2extchromium.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 2846 matching lines...) Expand 10 before | Expand all | Expand 10 after
2857 'result': ['SizedResult<GLuint>'], 2857 'result': ['SizedResult<GLuint>'],
2858 }, 2858 },
2859 'GetAttribLocation': { 2859 'GetAttribLocation': {
2860 'type': 'Custom', 2860 'type': 'Custom',
2861 'data_transfer_methods': ['shm'], 2861 'data_transfer_methods': ['shm'],
2862 'cmd_args': 2862 'cmd_args':
2863 'GLidProgram program, uint32_t name_bucket_id, GLint* location', 2863 'GLidProgram program, uint32_t name_bucket_id, GLint* location',
2864 'result': ['GLint'], 2864 'result': ['GLint'],
2865 'error_return': -1, 2865 'error_return': -1,
2866 }, 2866 },
2867 'GetFragDataIndexEXT': {
2868 'type': 'Custom',
2869 'data_transfer_methods': ['shm'],
2870 'cmd_args':
2871 'GLidProgram program, uint32_t name_bucket_id, GLint* index',
2872 'result': ['GLint'],
2873 'error_return': -1,
2874 'extension': 'EXT_blend_func_extended',
2875 'extension_flag': 'ext_blend_func_extended',
2876 },
2867 'GetFragDataLocation': { 2877 'GetFragDataLocation': {
2868 'type': 'Custom', 2878 'type': 'Custom',
2869 'data_transfer_methods': ['shm'], 2879 'data_transfer_methods': ['shm'],
2870 'cmd_args': 2880 'cmd_args':
2871 'GLidProgram program, uint32_t name_bucket_id, GLint* location', 2881 'GLidProgram program, uint32_t name_bucket_id, GLint* location',
2872 'result': ['GLint'], 2882 'result': ['GLint'],
2873 'error_return': -1, 2883 'error_return': -1,
2874 'unsafe': True, 2884 'unsafe': True,
2875 }, 2885 },
2876 'GetBooleanv': { 2886 'GetBooleanv': {
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after
4010 'extension': "disjoint_timer_query_EXT", 4020 'extension': "disjoint_timer_query_EXT",
4011 }, 4021 },
4012 'SetDisjointValueSyncCHROMIUM': { 4022 'SetDisjointValueSyncCHROMIUM': {
4013 'type': 'Manual', 4023 'type': 'Manual',
4014 'data_transfer_methods': ['shm'], 4024 'data_transfer_methods': ['shm'],
4015 'client_test': False, 4025 'client_test': False,
4016 'cmd_args': 'void* sync_data', 4026 'cmd_args': 'void* sync_data',
4017 'extension': True, 4027 'extension': True,
4018 'chromium': True, 4028 'chromium': True,
4019 }, 4029 },
4030 'BindFragDataLocationEXT': {
4031 'type': 'GLchar',
4032 'data_transfer_methods': ['bucket'],
4033 'needs_size': True,
4034 'gl_test_func': 'DoBindFragDataLocationEXT',
4035 'extension': 'EXT_blend_func_extended',
4036 'extension_flag': 'ext_blend_func_extended',
4037 },
4038 'BindFragDataLocationIndexedEXT': {
4039 'type': 'GLchar',
4040 'data_transfer_methods': ['bucket'],
4041 'needs_size': True,
4042 'gl_test_func': 'DoBindFragDataLocationIndexedEXT',
4043 'extension': 'EXT_blend_func_extended',
4044 'extension_flag': 'ext_blend_func_extended',
4045 },
4020 'BindUniformLocationCHROMIUM': { 4046 'BindUniformLocationCHROMIUM': {
4021 'type': 'GLchar', 4047 'type': 'GLchar',
4022 'extension': 'CHROMIUM_bind_uniform_location', 4048 'extension': 'CHROMIUM_bind_uniform_location',
4023 'data_transfer_methods': ['bucket'], 4049 'data_transfer_methods': ['bucket'],
4024 'needs_size': True, 4050 'needs_size': True,
4025 'gl_test_func': 'DoBindUniformLocationCHROMIUM', 4051 'gl_test_func': 'DoBindUniformLocationCHROMIUM',
4026 }, 4052 },
4027 'InsertEventMarkerEXT': { 4053 'InsertEventMarkerEXT': {
4028 'type': 'GLcharN', 4054 'type': 'GLcharN',
4029 'decoder_func': 'DoInsertEventMarkerEXT', 4055 'decoder_func': 'DoInsertEventMarkerEXT',
(...skipping 7173 matching lines...) Expand 10 before | Expand all | Expand 10 after
11203 Format(gen.generated_cpp_filenames) 11229 Format(gen.generated_cpp_filenames)
11204 11230
11205 if gen.errors > 0: 11231 if gen.errors > 0:
11206 print "%d errors" % gen.errors 11232 print "%d errors" % gen.errors
11207 return 1 11233 return 1
11208 return 0 11234 return 0
11209 11235
11210 11236
11211 if __name__ == '__main__': 11237 if __name__ == '__main__':
11212 sys.exit(main(sys.argv[1:])) 11238 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2extchromium.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