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

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

Issue 1814573002: Move flush id from WebGraphicsContext3DImpl to GLES2Implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lastflush: . Created 4 years, 9 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 3461 matching lines...) Expand 10 before | Expand all | Expand 10 after
3472 'type': 'Is', 3472 'type': 'Is',
3473 'decoder_func': 'DoIsTexture', 3473 'decoder_func': 'DoIsTexture',
3474 'expectation': False, 3474 'expectation': False,
3475 }, 3475 },
3476 'IsTransformFeedback': { 3476 'IsTransformFeedback': {
3477 'type': 'Is', 3477 'type': 'Is',
3478 'id_mapping': [ 'TransformFeedback' ], 3478 'id_mapping': [ 'TransformFeedback' ],
3479 'expectation': False, 3479 'expectation': False,
3480 'unsafe': True, 3480 'unsafe': True,
3481 }, 3481 },
3482 'GetLastFlushIdCHROMIUM': {
3483 'gen_cmd': False,
3484 'impl_func': 'False',
3485 'result': ['GLuint'],
3486 'extension': True,
3487 },
3482 'LinkProgram': { 3488 'LinkProgram': {
3483 'decoder_func': 'DoLinkProgram', 3489 'decoder_func': 'DoLinkProgram',
3484 'impl_func': False, 3490 'impl_func': False,
3485 'trace_level': 1, 3491 'trace_level': 1,
3486 }, 3492 },
3487 'MapBufferCHROMIUM': { 3493 'MapBufferCHROMIUM': {
3488 'gen_cmd': False, 3494 'gen_cmd': False,
3489 'extension': "CHROMIUM_pixel_transfer_buffer_object", 3495 'extension': "CHROMIUM_pixel_transfer_buffer_object",
3490 'chromium': True, 3496 'chromium': True,
3491 'client_test': False, 3497 'client_test': False,
(...skipping 8071 matching lines...) Expand 10 before | Expand all | Expand 10 after
11563 Format(gen.generated_cpp_filenames) 11569 Format(gen.generated_cpp_filenames)
11564 11570
11565 if gen.errors > 0: 11571 if gen.errors > 0:
11566 print "%d errors" % gen.errors 11572 print "%d errors" % gen.errors
11567 return 1 11573 return 1
11568 return 0 11574 return 0
11569 11575
11570 11576
11571 if __name__ == '__main__': 11577 if __name__ == '__main__':
11572 sys.exit(main(sys.argv[1:])) 11578 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698