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

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

Issue 2268993003: [Command Buffer] Coding style: FrameBuffer -> Framebuffer to be comformant (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code rebase Created 4 years, 4 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
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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 'invalid': [ 672 'invalid': [
673 'GL_LINEAR_MIPMAP_LINEAR', 673 'GL_LINEAR_MIPMAP_LINEAR',
674 ], 674 ],
675 }, 675 },
676 'CoverageModulationComponents': { 676 'CoverageModulationComponents': {
677 'type': 'GLenum', 677 'type': 'GLenum',
678 'valid': [ 678 'valid': [
679 'GL_RGB', 'GL_RGBA', 'GL_ALPHA', 'GL_NONE' 679 'GL_RGB', 'GL_RGBA', 'GL_ALPHA', 'GL_NONE'
680 ], 680 ],
681 }, 681 },
682 'FrameBufferTarget': { 682 'FramebufferTarget': {
683 'type': 'GLenum', 683 'type': 'GLenum',
684 'valid': [ 684 'valid': [
685 'GL_FRAMEBUFFER', 685 'GL_FRAMEBUFFER',
686 ], 686 ],
687 'valid_es3': [ 687 'valid_es3': [
688 'GL_DRAW_FRAMEBUFFER' , 688 'GL_DRAW_FRAMEBUFFER' ,
689 'GL_READ_FRAMEBUFFER' , 689 'GL_READ_FRAMEBUFFER' ,
690 ], 690 ],
691 'invalid': [ 691 'invalid': [
692 'GL_RENDERBUFFER', 692 'GL_RENDERBUFFER',
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 'type': 'GLenum', 1300 'type': 'GLenum',
1301 'is_complete': True, 1301 'is_complete': True,
1302 'valid': [ 1302 'valid': [
1303 'GL_INTERLEAVED_ATTRIBS', 1303 'GL_INTERLEAVED_ATTRIBS',
1304 'GL_SEPARATE_ATTRIBS', 1304 'GL_SEPARATE_ATTRIBS',
1305 ], 1305 ],
1306 'invalid': [ 1306 'invalid': [
1307 'GL_PIXEL_PACK_BUFFER', 1307 'GL_PIXEL_PACK_BUFFER',
1308 ], 1308 ],
1309 }, 1309 },
1310 'FrameBufferParameter': { 1310 'FramebufferParameter': {
1311 'type': 'GLenum', 1311 'type': 'GLenum',
1312 'valid': [ 1312 'valid': [
1313 'GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE', 1313 'GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE',
1314 'GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME', 1314 'GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME',
1315 'GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL', 1315 'GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL',
1316 'GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE', 1316 'GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE',
1317 ], 1317 ],
1318 'valid_es3': [ 1318 'valid_es3': [
1319 'GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE', 1319 'GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE',
1320 'GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE', 1320 'GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE',
(...skipping 9988 matching lines...) Expand 10 before | Expand all | Expand 10 after
11309 Format(gen.generated_cpp_filenames) 11309 Format(gen.generated_cpp_filenames)
11310 11310
11311 if gen.errors > 0: 11311 if gen.errors > 0:
11312 print "%d errors" % gen.errors 11312 print "%d errors" % gen.errors
11313 return 1 11313 return 1
11314 return 0 11314 return 0
11315 11315
11316 11316
11317 if __name__ == '__main__': 11317 if __name__ == '__main__':
11318 sys.exit(main(sys.argv[1:])) 11318 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « android_webview/browser/aw_gl_surface.cc ('k') | gpu/command_buffer/client/gles2_implementation_impl_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698