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

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

Issue 2639293002: gpu: Add ARB_occlusion_query support. (Closed)
Patch Set: add unit test Created 3 years, 11 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_implementation.cc » ('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 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698