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

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

Issue 213743003: Pass GL context bind_generates_resources flag to GPU Service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 8 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.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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 'GL_SHADER_BINARY_FORMATS', 583 'GL_SHADER_BINARY_FORMATS',
584 'GL_SHADER_COMPILER', 584 'GL_SHADER_COMPILER',
585 'GL_SUBPIXEL_BITS', 585 'GL_SUBPIXEL_BITS',
586 'GL_STENCIL_BITS', 586 'GL_STENCIL_BITS',
587 'GL_TEXTURE_BINDING_2D', 587 'GL_TEXTURE_BINDING_2D',
588 'GL_TEXTURE_BINDING_CUBE_MAP', 588 'GL_TEXTURE_BINDING_CUBE_MAP',
589 'GL_UNPACK_ALIGNMENT', 589 'GL_UNPACK_ALIGNMENT',
590 'GL_UNPACK_FLIP_Y_CHROMIUM', 590 'GL_UNPACK_FLIP_Y_CHROMIUM',
591 'GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM', 591 'GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM',
592 'GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM', 592 'GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM',
593 'GL_BIND_GENERATES_RESOURCE_CHROMIUM',
593 # we can add this because we emulate it if the driver does not support it. 594 # we can add this because we emulate it if the driver does not support it.
594 'GL_VERTEX_ARRAY_BINDING_OES', 595 'GL_VERTEX_ARRAY_BINDING_OES',
595 'GL_VIEWPORT', 596 'GL_VIEWPORT',
596 ], 597 ],
597 'invalid': [ 598 'invalid': [
598 'GL_FOG_HINT', 599 'GL_FOG_HINT',
599 ], 600 ],
600 }, 601 },
601 'GetTexParamTarget': { 602 'GetTexParamTarget': {
602 'type': 'GLenum', 603 'type': 'GLenum',
(...skipping 7302 matching lines...) Expand 10 before | Expand all | Expand 10 after
7905 "ppapi/shared_impl/ppb_opengles2_shared.cc"]) 7906 "ppapi/shared_impl/ppb_opengles2_shared.cc"])
7906 7907
7907 if gen.errors > 0: 7908 if gen.errors > 0:
7908 print "%d errors" % gen.errors 7909 print "%d errors" % gen.errors
7909 return 1 7910 return 1
7910 return 0 7911 return 0
7911 7912
7912 7913
7913 if __name__ == '__main__': 7914 if __name__ == '__main__':
7914 sys.exit(main(sys.argv[1:])) 7915 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698