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

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

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references Created 4 years, 8 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
« 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 2129 matching lines...) Expand 10 before | Expand all | Expand 10 after
2140 'GL_RGB_YCBCR_420V_CHROMIUM', 2140 'GL_RGB_YCBCR_420V_CHROMIUM',
2141 'GL_RGBA', 2141 'GL_RGBA',
2142 ], 2142 ],
2143 }, 2143 },
2144 'ImageUsage': { 2144 'ImageUsage': {
2145 'type': 'GLenum', 2145 'type': 'GLenum',
2146 'valid': [ 2146 'valid': [
2147 'GL_READ_WRITE_CHROMIUM', 2147 'GL_READ_WRITE_CHROMIUM',
2148 ], 2148 ],
2149 }, 2149 },
2150 'ValueBufferTarget': {
2151 'type': 'GLenum',
2152 'valid': [
2153 'GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM',
2154 ],
2155 },
2156 'SubscriptionTarget': {
2157 'type': 'GLenum',
2158 'valid': [
2159 'GL_MOUSE_POSITION_CHROMIUM',
2160 ],
2161 },
2162 'UniformParameter': { 2150 'UniformParameter': {
2163 'type': 'GLenum', 2151 'type': 'GLenum',
2164 'is_complete': True, 2152 'is_complete': True,
2165 'valid': [ 2153 'valid': [
2166 'GL_UNIFORM_SIZE', 2154 'GL_UNIFORM_SIZE',
2167 'GL_UNIFORM_TYPE', 2155 'GL_UNIFORM_TYPE',
2168 'GL_UNIFORM_NAME_LENGTH', 2156 'GL_UNIFORM_NAME_LENGTH',
2169 'GL_UNIFORM_BLOCK_INDEX', 2157 'GL_UNIFORM_BLOCK_INDEX',
2170 'GL_UNIFORM_OFFSET', 2158 'GL_UNIFORM_OFFSET',
2171 'GL_UNIFORM_ARRAY_STRIDE', 2159 'GL_UNIFORM_ARRAY_STRIDE',
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
2585 'decoder_func': 'DoCreateAndConsumeTextureCHROMIUM', 2573 'decoder_func': 'DoCreateAndConsumeTextureCHROMIUM',
2586 'impl_func': False, 2574 'impl_func': False,
2587 'type': 'HandWritten', 2575 'type': 'HandWritten',
2588 'data_transfer_methods': ['immediate'], 2576 'data_transfer_methods': ['immediate'],
2589 'unit_test': False, 2577 'unit_test': False,
2590 'client_test': False, 2578 'client_test': False,
2591 'extension': "CHROMIUM_texture_mailbox", 2579 'extension': "CHROMIUM_texture_mailbox",
2592 'chromium': True, 2580 'chromium': True,
2593 'trace_level': 2, 2581 'trace_level': 2,
2594 }, 2582 },
2595 'GenValuebuffersCHROMIUM': {
2596 'type': 'GENn',
2597 'gl_test_func': 'glGenValuebuffersCHROMIUM',
2598 'resource_type': 'Valuebuffer',
2599 'resource_types': 'Valuebuffers',
2600 'unit_test': False,
2601 'extension': 'CHROMIUM_subscribe_uniform',
2602 'chromium': True,
2603 },
2604 'DeleteValuebuffersCHROMIUM': {
2605 'type': 'DELn',
2606 'gl_test_func': 'glDeleteValuebuffersCHROMIUM',
2607 'resource_type': 'Valuebuffer',
2608 'resource_types': 'Valuebuffers',
2609 'unit_test': False,
2610 'extension': 'CHROMIUM_subscribe_uniform',
2611 'chromium': True,
2612 },
2613 'IsValuebufferCHROMIUM': {
2614 'type': 'Is',
2615 'decoder_func': 'DoIsValuebufferCHROMIUM',
2616 'expectation': False,
2617 'extension': 'CHROMIUM_subscribe_uniform',
2618 'chromium': True,
2619 },
2620 'BindValuebufferCHROMIUM': {
2621 'type': 'Bind',
2622 'decoder_func': 'DoBindValueBufferCHROMIUM',
2623 'gen_func': 'GenValueBuffersCHROMIUM',
2624 'unit_test': False,
2625 'extension': 'CHROMIUM_subscribe_uniform',
2626 'chromium': True,
2627 },
2628 'SubscribeValueCHROMIUM': {
2629 'decoder_func': 'DoSubscribeValueCHROMIUM',
2630 'unit_test': False,
2631 'extension': 'CHROMIUM_subscribe_uniform',
2632 'chromium': True,
2633 },
2634 'PopulateSubscribedValuesCHROMIUM': {
2635 'decoder_func': 'DoPopulateSubscribedValuesCHROMIUM',
2636 'unit_test': False,
2637 'extension': 'CHROMIUM_subscribe_uniform',
2638 'chromium': True,
2639 },
2640 'UniformValuebufferCHROMIUM': {
2641 'decoder_func': 'DoUniformValueBufferCHROMIUM',
2642 'unit_test': False,
2643 'extension': 'CHROMIUM_subscribe_uniform',
2644 'chromium': True,
2645 },
2646 'ClearStencil': { 2583 'ClearStencil': {
2647 'type': 'StateSet', 2584 'type': 'StateSet',
2648 'state': 'ClearStencil', 2585 'state': 'ClearStencil',
2649 }, 2586 },
2650 'EnableFeatureCHROMIUM': { 2587 'EnableFeatureCHROMIUM': {
2651 'type': 'Custom', 2588 'type': 'Custom',
2652 'data_transfer_methods': ['shm'], 2589 'data_transfer_methods': ['shm'],
2653 'decoder_func': 'DoEnableFeatureCHROMIUM', 2590 'decoder_func': 'DoEnableFeatureCHROMIUM',
2654 'expectation': False, 2591 'expectation': False,
2655 'cmd_args': 'GLuint bucket_id, GLint* result', 2592 'cmd_args': 'GLuint bucket_id, GLint* result',
(...skipping 8923 matching lines...) Expand 10 before | Expand all | Expand 10 after
11579 Format(gen.generated_cpp_filenames) 11516 Format(gen.generated_cpp_filenames)
11580 11517
11581 if gen.errors > 0: 11518 if gen.errors > 0:
11582 print "%d errors" % gen.errors 11519 print "%d errors" % gen.errors
11583 return 1 11520 return 1
11584 return 0 11521 return 0
11585 11522
11586 11523
11587 if __name__ == '__main__': 11524 if __name__ == '__main__':
11588 sys.exit(main(sys.argv[1:])) 11525 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