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

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

Issue 1559203003: Add GLStreamTextureImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: getCustomMatrix Created 4 years, 10 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 3871 matching lines...) Expand 10 before | Expand all | Expand 10 after
3882 'count': 12, 3882 'count': 12,
3883 'decoder_func': 'DoUniformMatrix3x4fv', 3883 'decoder_func': 'DoUniformMatrix3x4fv',
3884 'unsafe': True, 3884 'unsafe': True,
3885 }, 3885 },
3886 'UniformMatrix4fv': { 3886 'UniformMatrix4fv': {
3887 'type': 'PUTn', 3887 'type': 'PUTn',
3888 'count': 16, 3888 'count': 16,
3889 'decoder_func': 'DoUniformMatrix4fv', 3889 'decoder_func': 'DoUniformMatrix4fv',
3890 'unit_test': False, 3890 'unit_test': False,
3891 }, 3891 },
3892 'UniformMatrix4fvWithCustomMatrixCHROMIUM': {
3893 'type': 'PUTn',
3894 'count': 16,
3895 'decoder_func': 'DoUniformMatrix4fvWithCustomMatrixCHROMIUM',
3896 'extension': "CHROMIUM_uniform_stream_texture_matrix",
3897 'unit_test': False,
3898 'client_test': False,
3899 },
3892 'UniformMatrix4x2fv': { 3900 'UniformMatrix4x2fv': {
3893 'type': 'PUTn', 3901 'type': 'PUTn',
3894 'count': 8, 3902 'count': 8,
3895 'decoder_func': 'DoUniformMatrix4x2fv', 3903 'decoder_func': 'DoUniformMatrix4x2fv',
3896 'unsafe': True, 3904 'unsafe': True,
3897 }, 3905 },
3898 'UniformMatrix4x3fv': { 3906 'UniformMatrix4x3fv': {
3899 'type': 'PUTn', 3907 'type': 'PUTn',
3900 'count': 12, 3908 'count': 12,
3901 'decoder_func': 'DoUniformMatrix4x3fv', 3909 'decoder_func': 'DoUniformMatrix4x3fv',
(...skipping 7624 matching lines...) Expand 10 before | Expand all | Expand 10 after
11526 Format(gen.generated_cpp_filenames) 11534 Format(gen.generated_cpp_filenames)
11527 11535
11528 if gen.errors > 0: 11536 if gen.errors > 0:
11529 print "%d errors" % gen.errors 11537 print "%d errors" % gen.errors
11530 return 1 11538 return 1
11531 return 0 11539 return 0
11532 11540
11533 11541
11534 if __name__ == '__main__': 11542 if __name__ == '__main__':
11535 sys.exit(main(sys.argv[1:])) 11543 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698