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

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

Issue 659903002: Add subscribeUniform extension pipeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 'CreateAndConsumeTextureCHROMIUM': { 1441 'CreateAndConsumeTextureCHROMIUM': {
1442 'decoder_func': 'DoCreateAndConsumeTextureCHROMIUM', 1442 'decoder_func': 'DoCreateAndConsumeTextureCHROMIUM',
1443 'impl_func': False, 1443 'impl_func': False,
1444 'type': 'HandWritten', 1444 'type': 'HandWritten',
1445 'data_transfer_methods': ['immediate'], 1445 'data_transfer_methods': ['immediate'],
1446 'unit_test': False, 1446 'unit_test': False,
1447 'client_test': False, 1447 'client_test': False,
1448 'extension': "CHROMIUM_texture_mailbox", 1448 'extension': "CHROMIUM_texture_mailbox",
1449 'chromium': True, 1449 'chromium': True,
1450 }, 1450 },
1451 'SubscribeUniformCHROMIUM': {
1452 'type': 'GLchar',
1453 'data_transfer_methods': ['bucket'],
1454 'decoder_func': 'DoSubscribeUniformCHROMIUM',
1455 'cmd_args': 'GLenum target, GLuint bucket_id',
1456 'impl_func': False,
1457 'unit_test': False,
1458 'client_test': False,
1459 'extension': True,
1460 'chromium': True,
1461 },
1451 'ClearStencil': { 1462 'ClearStencil': {
1452 'type': 'StateSet', 1463 'type': 'StateSet',
1453 'state': 'ClearStencil', 1464 'state': 'ClearStencil',
1454 }, 1465 },
1455 'EnableFeatureCHROMIUM': { 1466 'EnableFeatureCHROMIUM': {
1456 'type': 'Custom', 1467 'type': 'Custom',
1457 'data_transfer_methods': ['shm'], 1468 'data_transfer_methods': ['shm'],
1458 'decoder_func': 'DoEnableFeatureCHROMIUM', 1469 'decoder_func': 'DoEnableFeatureCHROMIUM',
1459 'expectation': False, 1470 'expectation': False,
1460 'cmd_args': 'GLuint bucket_id, GLint* result', 1471 'cmd_args': 'GLuint bucket_id, GLint* result',
(...skipping 7165 matching lines...) Expand 10 before | Expand all | Expand 10 after
8626 Format(gen.generated_cpp_filenames) 8637 Format(gen.generated_cpp_filenames)
8627 8638
8628 if gen.errors > 0: 8639 if gen.errors > 0:
8629 print "%d errors" % gen.errors 8640 print "%d errors" % gen.errors
8630 return 1 8641 return 1
8631 return 0 8642 return 0
8632 8643
8633 8644
8634 if __name__ == '__main__': 8645 if __name__ == '__main__':
8635 sys.exit(main(sys.argv[1:])) 8646 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698