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

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

Issue 1974163003: Expose GpuMemoryBufferId through glGetImageivCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 4 years, 6 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/client_test_helper.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 2650 matching lines...) Expand 10 before | Expand all | Expand 10 after
2661 'cmd_args': 2661 'cmd_args':
2662 'GLsizei width, GLsizei height, GLenum internalformat, GLenum usage', 2662 'GLsizei width, GLsizei height, GLenum internalformat, GLenum usage',
2663 'result': ['GLuint'], 2663 'result': ['GLuint'],
2664 'client_test': False, 2664 'client_test': False,
2665 'gen_cmd': False, 2665 'gen_cmd': False,
2666 'expectation': False, 2666 'expectation': False,
2667 'extension': "CHROMIUM_gpu_memory_buffer_image", 2667 'extension': "CHROMIUM_gpu_memory_buffer_image",
2668 'chromium': True, 2668 'chromium': True,
2669 'trace_level': 1, 2669 'trace_level': 1,
2670 }, 2670 },
2671 'GetImageivCHROMIUM': {
2672 'type': 'Manual',
2673 'cmd_args': 'GLuint image_id, GLenum param, GLint* data',
2674 'client_test': False,
2675 'gen_cmd': False,
2676 'expectation': False,
2677 'extension': "CHROMIUM_gpu_memory_buffer_image",
2678 'chromium': True,
2679 'trace_level': 1,
2680 },
2671 'CreateProgram': { 2681 'CreateProgram': {
2672 'type': 'Create', 2682 'type': 'Create',
2673 'client_test': False, 2683 'client_test': False,
2674 }, 2684 },
2675 'CreateShader': { 2685 'CreateShader': {
2676 'type': 'Create', 2686 'type': 'Create',
2677 'client_test': False, 2687 'client_test': False,
2678 }, 2688 },
2679 'BlendColor': { 2689 'BlendColor': {
2680 'type': 'StateSet', 2690 'type': 'StateSet',
(...skipping 8619 matching lines...) Expand 10 before | Expand all | Expand 10 after
11300 Format(gen.generated_cpp_filenames) 11310 Format(gen.generated_cpp_filenames)
11301 11311
11302 if gen.errors > 0: 11312 if gen.errors > 0:
11303 print "%d errors" % gen.errors 11313 print "%d errors" % gen.errors
11304 return 1 11314 return 1
11305 return 0 11315 return 0
11306 11316
11307 11317
11308 if __name__ == '__main__': 11318 if __name__ == '__main__':
11309 sys.exit(main(sys.argv[1:])) 11319 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/client_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698