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

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: fixed unitialized variable Created 6 years, 1 month 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 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1188 'GL_RGBA', 1188 'GL_RGBA',
1189 ], 1189 ],
1190 }, 1190 },
1191 'ImageUsage': { 1191 'ImageUsage': {
1192 'type': 'GLenum', 1192 'type': 'GLenum',
1193 'valid': [ 1193 'valid': [
1194 'GL_MAP_CHROMIUM', 1194 'GL_MAP_CHROMIUM',
1195 'GL_SCANOUT_CHROMIUM' 1195 'GL_SCANOUT_CHROMIUM'
1196 ], 1196 ],
1197 }, 1197 },
1198 'ValueBufferTarget': {
1199 'type': 'GLenum',
1200 'valid': [
1201 'GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM',
1202 ],
1203 },
1204 'SubscriptionTarget': {
1205 'type': 'GLenum',
1206 'valid': [
1207 'GL_MOUSE_POSITION_CHROMIUM',
1208 ],
1209 },
1198 'VertexAttribType': { 1210 'VertexAttribType': {
1199 'type': 'GLenum', 1211 'type': 'GLenum',
1200 'valid': [ 1212 'valid': [
1201 'GL_BYTE', 1213 'GL_BYTE',
1202 'GL_UNSIGNED_BYTE', 1214 'GL_UNSIGNED_BYTE',
1203 'GL_SHORT', 1215 'GL_SHORT',
1204 'GL_UNSIGNED_SHORT', 1216 'GL_UNSIGNED_SHORT',
1205 # 'GL_FIXED', // This is not available on Desktop GL. 1217 # 'GL_FIXED', // This is not available on Desktop GL.
1206 'GL_FLOAT', 1218 'GL_FLOAT',
1207 ], 1219 ],
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 'CreateAndConsumeTextureCHROMIUM': { 1453 'CreateAndConsumeTextureCHROMIUM': {
1442 'decoder_func': 'DoCreateAndConsumeTextureCHROMIUM', 1454 'decoder_func': 'DoCreateAndConsumeTextureCHROMIUM',
1443 'impl_func': False, 1455 'impl_func': False,
1444 'type': 'HandWritten', 1456 'type': 'HandWritten',
1445 'data_transfer_methods': ['immediate'], 1457 'data_transfer_methods': ['immediate'],
1446 'unit_test': False, 1458 'unit_test': False,
1447 'client_test': False, 1459 'client_test': False,
1448 'extension': "CHROMIUM_texture_mailbox", 1460 'extension': "CHROMIUM_texture_mailbox",
1449 'chromium': True, 1461 'chromium': True,
1450 }, 1462 },
1463 'GenValuebuffersCHROMIUM': {
1464 'type': 'GENn',
1465 'gl_test_func': 'glGenValuebuffersCHROMIUM',
1466 'resource_type': 'Valuebuffer',
1467 'resource_types': 'Valuebuffers',
1468 'unit_test': False,
1469 'extension': True,
1470 'chromium': True,
1471 },
1472 'DeleteValuebuffersCHROMIUM': {
1473 'type': 'DELn',
1474 'gl_test_func': 'glDeleteValuebuffersCHROMIUM',
1475 'resource_type': 'Valuebuffer',
1476 'resource_types': 'Valuebuffers',
1477 'unit_test': False,
1478 'extension': True,
1479 'chromium': True,
1480 },
1481 'IsValuebufferCHROMIUM': {
1482 'type': 'Is',
1483 'decoder_func': 'DoIsValuebufferCHROMIUM',
1484 'expectation': False,
1485 'extension': True,
1486 'chromium': True,
1487 },
1488 'BindValuebufferCHROMIUM': {
1489 'type': 'Bind',
1490 'decoder_func': 'DoBindValueBufferCHROMIUM',
1491 'gen_func': 'GenValueBuffersCHROMIUM',
1492 'unit_test': False,
1493 'extension': True,
1494 'chromium': True,
1495 },
1496 'SubscribeValueCHROMIUM': {
1497 'decoder_func': 'DoSubscribeValueCHROMIUM',
1498 'unit_test': False,
1499 'extension': True,
1500 'chromium': True,
1501 },
1502 'PopulateSubscribedValuesCHROMIUM': {
1503 'decoder_func': 'DoPopulateSubscribedValuesCHROMIUM',
1504 'unit_test': False,
1505 'extension': True,
1506 'chromium': True,
1507 },
1508 'UniformValuebufferCHROMIUM': {
1509 'decoder_func': 'DoUniformValueBufferCHROMIUM',
1510 'unit_test': False,
1511 'extension': True,
1512 'chromium': True,
1513 },
1451 'ClearStencil': { 1514 'ClearStencil': {
1452 'type': 'StateSet', 1515 'type': 'StateSet',
1453 'state': 'ClearStencil', 1516 'state': 'ClearStencil',
1454 }, 1517 },
1455 'EnableFeatureCHROMIUM': { 1518 'EnableFeatureCHROMIUM': {
1456 'type': 'Custom', 1519 'type': 'Custom',
1457 'data_transfer_methods': ['shm'], 1520 'data_transfer_methods': ['shm'],
1458 'decoder_func': 'DoEnableFeatureCHROMIUM', 1521 'decoder_func': 'DoEnableFeatureCHROMIUM',
1459 'expectation': False, 1522 'expectation': False,
1460 'cmd_args': 'GLuint bucket_id, GLint* result', 1523 'cmd_args': 'GLuint bucket_id, GLint* result',
(...skipping 7171 matching lines...) Expand 10 before | Expand all | Expand 10 after
8632 Format(gen.generated_cpp_filenames) 8695 Format(gen.generated_cpp_filenames)
8633 8696
8634 if gen.errors > 0: 8697 if gen.errors > 0:
8635 print "%d errors" % gen.errors 8698 print "%d errors" % gen.errors
8636 return 1 8699 return 1
8637 return 0 8700 return 0
8638 8701
8639 8702
8640 if __name__ == '__main__': 8703 if __name__ == '__main__':
8641 sys.exit(main(sys.argv[1:])) 8704 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