| 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 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1365 'type': 'GLenum', | 1365 'type': 'GLenum', |
| 1366 'is_complete': True, | 1366 'is_complete': True, |
| 1367 'valid': [ | 1367 'valid': [ |
| 1368 'GL_CURRENT_QUERY_EXT', | 1368 'GL_CURRENT_QUERY_EXT', |
| 1369 ], | 1369 ], |
| 1370 }, | 1370 }, |
| 1371 'QueryTarget': { | 1371 'QueryTarget': { |
| 1372 'type': 'GLenum', | 1372 'type': 'GLenum', |
| 1373 'is_complete': True, | 1373 'is_complete': True, |
| 1374 'valid': [ | 1374 'valid': [ |
| 1375 'GL_SAMPLES_PASSED_ARB', |
| 1375 'GL_ANY_SAMPLES_PASSED_EXT', | 1376 'GL_ANY_SAMPLES_PASSED_EXT', |
| 1376 'GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT', | 1377 'GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT', |
| 1377 'GL_COMMANDS_ISSUED_CHROMIUM', | 1378 'GL_COMMANDS_ISSUED_CHROMIUM', |
| 1378 'GL_LATENCY_QUERY_CHROMIUM', | 1379 'GL_LATENCY_QUERY_CHROMIUM', |
| 1379 'GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM', | 1380 'GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM', |
| 1380 'GL_COMMANDS_COMPLETED_CHROMIUM', | 1381 'GL_COMMANDS_COMPLETED_CHROMIUM', |
| 1381 ], | 1382 ], |
| 1382 }, | 1383 }, |
| 1383 'RenderBufferParameter': { | 1384 'RenderBufferParameter': { |
| 1384 'type': 'GLenum', | 1385 'type': 'GLenum', |
| (...skipping 9826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11211 Format(gen.generated_cpp_filenames) | 11212 Format(gen.generated_cpp_filenames) |
| 11212 | 11213 |
| 11213 if gen.errors > 0: | 11214 if gen.errors > 0: |
| 11214 print "%d errors" % gen.errors | 11215 print "%d errors" % gen.errors |
| 11215 return 1 | 11216 return 1 |
| 11216 return 0 | 11217 return 0 |
| 11217 | 11218 |
| 11218 | 11219 |
| 11219 if __name__ == '__main__': | 11220 if __name__ == '__main__': |
| 11220 sys.exit(main(sys.argv[1:])) | 11221 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |