Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 2372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2383 _FUNCTION_INFO = { | 2383 _FUNCTION_INFO = { |
| 2384 'ActiveTexture': { | 2384 'ActiveTexture': { |
| 2385 'decoder_func': 'DoActiveTexture', | 2385 'decoder_func': 'DoActiveTexture', |
| 2386 'unit_test': False, | 2386 'unit_test': False, |
| 2387 'impl_func': False, | 2387 'impl_func': False, |
| 2388 'client_test': False, | 2388 'client_test': False, |
| 2389 }, | 2389 }, |
| 2390 'ApplyScreenSpaceAntialiasingCHROMIUM': { | 2390 'ApplyScreenSpaceAntialiasingCHROMIUM': { |
| 2391 'decoder_func': 'DoApplyScreenSpaceAntialiasingCHROMIUM', | 2391 'decoder_func': 'DoApplyScreenSpaceAntialiasingCHROMIUM', |
| 2392 'extension': 'CHROMIUM_screen_space_antialiasing', | 2392 'extension': 'CHROMIUM_screen_space_antialiasing', |
| 2393 'extension_flag': 'chromium_screen_space_antialiasing', | |
|
piman
2016/10/19 19:10:43
Why this change?
dshwang
2016/10/20 16:21:20
oh, mistake. reverted.
In the detail, I tried to
| |
| 2394 'unit_test': False, | 2393 'unit_test': False, |
| 2395 'client_test': False, | 2394 'client_test': False, |
| 2396 }, | 2395 }, |
| 2397 'AttachShader': {'decoder_func': 'DoAttachShader'}, | 2396 'AttachShader': {'decoder_func': 'DoAttachShader'}, |
| 2398 'BindAttribLocation': { | 2397 'BindAttribLocation': { |
| 2399 'type': 'GLchar', | 2398 'type': 'GLchar', |
| 2400 'data_transfer_methods': ['bucket'], | 2399 'data_transfer_methods': ['bucket'], |
| 2401 'needs_size': True, | 2400 'needs_size': True, |
| 2402 }, | 2401 }, |
| 2403 'BindBuffer': { | 2402 'BindBuffer': { |
| (...skipping 8931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 11335 Format(gen.generated_cpp_filenames) | 11334 Format(gen.generated_cpp_filenames) |
| 11336 | 11335 |
| 11337 if gen.errors > 0: | 11336 if gen.errors > 0: |
| 11338 print "%d errors" % gen.errors | 11337 print "%d errors" % gen.errors |
| 11339 return 1 | 11338 return 1 |
| 11340 return 0 | 11339 return 0 |
| 11341 | 11340 |
| 11342 | 11341 |
| 11343 if __name__ == '__main__': | 11342 if __name__ == '__main__': |
| 11344 sys.exit(main(sys.argv[1:])) | 11343 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |