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

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

Issue 1435183002: WebGL 2: fix the bug in invalidate-framebuffer.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 5 years, 1 month 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 | « no previous file | gpu/command_buffer/client/gles2_implementation_impl_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 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 'GL_FRAMEBUFFER', 596 'GL_FRAMEBUFFER',
597 ], 597 ],
598 'valid_es3': [ 598 'valid_es3': [
599 'GL_DRAW_FRAMEBUFFER' , 599 'GL_DRAW_FRAMEBUFFER' ,
600 'GL_READ_FRAMEBUFFER' , 600 'GL_READ_FRAMEBUFFER' ,
601 ], 601 ],
602 'invalid': [ 602 'invalid': [
603 'GL_RENDERBUFFER', 603 'GL_RENDERBUFFER',
604 ], 604 ],
605 }, 605 },
606 'InvalidateFrameBufferTarget': {
607 'type': 'GLenum',
608 'valid': [
609 'GL_FRAMEBUFFER',
610 ],
611 'invalid': [
612 'GL_DRAW_FRAMEBUFFER' ,
613 'GL_READ_FRAMEBUFFER' ,
614 ],
615 },
616 'RenderBufferTarget': { 606 'RenderBufferTarget': {
617 'type': 'GLenum', 607 'type': 'GLenum',
618 'valid': [ 608 'valid': [
619 'GL_RENDERBUFFER', 609 'GL_RENDERBUFFER',
620 ], 610 ],
621 'invalid': [ 611 'invalid': [
622 'GL_FRAMEBUFFER', 612 'GL_FRAMEBUFFER',
623 ], 613 ],
624 }, 614 },
625 'BufferTarget': { 615 'BufferTarget': {
(...skipping 10489 matching lines...) Expand 10 before | Expand all | Expand 10 after
11115 Format(gen.generated_cpp_filenames) 11105 Format(gen.generated_cpp_filenames)
11116 11106
11117 if gen.errors > 0: 11107 if gen.errors > 0:
11118 print "%d errors" % gen.errors 11108 print "%d errors" % gen.errors
11119 return 1 11109 return 1
11120 return 0 11110 return 0
11121 11111
11122 11112
11123 if __name__ == '__main__': 11113 if __name__ == '__main__':
11124 sys.exit(main(sys.argv[1:])) 11114 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_implementation_impl_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698