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

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

Issue 1241433003: Rebind EGL context to flush driver caches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 5 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/gl2chromium_autogen.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 3788 matching lines...) Expand 10 before | Expand all | Expand 10 after
3799 'type': 'Manual', 3799 'type': 'Manual',
3800 'cmd_args': 'GLenumQueryTarget target, GLuint submit_count', 3800 'cmd_args': 'GLenumQueryTarget target, GLuint submit_count',
3801 'gl_test_func': 'glEndnQuery', 3801 'gl_test_func': 'glEndnQuery',
3802 'client_test': False, 3802 'client_test': False,
3803 'pepper_interface': 'Query', 3803 'pepper_interface': 'Query',
3804 'extension': "occlusion_query_EXT", 3804 'extension': "occlusion_query_EXT",
3805 }, 3805 },
3806 'EndTransformFeedback': { 3806 'EndTransformFeedback': {
3807 'unsafe': True, 3807 'unsafe': True,
3808 }, 3808 },
3809 'FlushDriverCachesCHROMIUM': {
3810 'decoder_func': 'DoFlushDriverCachesCHROMIUM',
3811 'unit_test': False,
3812 'extension': True,
3813 'chromium': True,
3814 'trace_level': 1,
3815 },
3809 'GetQueryivEXT': { 3816 'GetQueryivEXT': {
3810 'gen_cmd': False, 3817 'gen_cmd': False,
3811 'client_test': False, 3818 'client_test': False,
3812 'gl_test_func': 'glGetQueryiv', 3819 'gl_test_func': 'glGetQueryiv',
3813 'pepper_interface': 'Query', 3820 'pepper_interface': 'Query',
3814 'extension': "occlusion_query_EXT", 3821 'extension': "occlusion_query_EXT",
3815 }, 3822 },
3816 'GetQueryObjectuivEXT': { 3823 'GetQueryObjectuivEXT': {
3817 'gen_cmd': False, 3824 'gen_cmd': False,
3818 'client_test': False, 3825 'client_test': False,
(...skipping 7447 matching lines...) Expand 10 before | Expand all | Expand 10 after
11266 Format(gen.generated_cpp_filenames) 11273 Format(gen.generated_cpp_filenames)
11267 11274
11268 if gen.errors > 0: 11275 if gen.errors > 0:
11269 print "%d errors" % gen.errors 11276 print "%d errors" % gen.errors
11270 return 1 11277 return 1
11271 return 0 11278 return 0
11272 11279
11273 11280
11274 if __name__ == '__main__': 11281 if __name__ == '__main__':
11275 sys.exit(main(sys.argv[1:])) 11282 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.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