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

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

Issue 1719019: GPU service interprets glFinish as glFlush.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder_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/python 1 #!/usr/bin/python
2 # 2 #
3 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """code generator for GLES2 command buffers.""" 7 """code generator for GLES2 command buffers."""
8 8
9 import os 9 import os
10 import os.path 10 import os.path
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 'impl_decl': False, 1023 'impl_decl': False,
1024 }, 1024 },
1025 'DrawElements': { 1025 'DrawElements': {
1026 'type': 'Manual', 1026 'type': 'Manual',
1027 'cmd_args': 'GLenum mode, GLsizei count, GLenum type, GLuint index_offset', 1027 'cmd_args': 'GLenum mode, GLsizei count, GLenum type, GLuint index_offset',
1028 }, 1028 },
1029 'EnableVertexAttribArray': { 1029 'EnableVertexAttribArray': {
1030 'decoder_func': 'DoEnableVertexAttribArray', 1030 'decoder_func': 'DoEnableVertexAttribArray',
1031 'impl_decl': False, 1031 'impl_decl': False,
1032 }, 1032 },
1033 'Finish': {'impl_func': False}, 1033 'Finish': {
1034 'impl_func': False,
1035 'decoder_func': 'glFlush',
1036 'gl_test_func': 'glFlush',
1037 },
1034 'Flush': {'impl_func': False}, 1038 'Flush': {'impl_func': False},
1035 'FramebufferRenderbuffer': { 1039 'FramebufferRenderbuffer': {
1036 'decoder_func': 'DoFramebufferRenderbuffer', 1040 'decoder_func': 'DoFramebufferRenderbuffer',
1037 'gl_test_func': 'glFramebufferRenderbufferEXT', 1041 'gl_test_func': 'glFramebufferRenderbufferEXT',
1038 }, 1042 },
1039 'FramebufferTexture2D': { 1043 'FramebufferTexture2D': {
1040 'decoder_func': 'DoFramebufferTexture2D', 1044 'decoder_func': 'DoFramebufferTexture2D',
1041 'gl_test_func': 'glFramebufferTexture2DEXT', 1045 'gl_test_func': 'glFramebufferTexture2DEXT',
1042 }, 1046 },
1043 'GenerateMipmap': { 1047 'GenerateMipmap': {
(...skipping 3665 matching lines...) Expand 10 before | Expand all | Expand 10 after
4709 4713
4710 if options.generate_docs: 4714 if options.generate_docs:
4711 gen.WriteDocs("docs/gles2_cmd_format_docs_autogen.h") 4715 gen.WriteDocs("docs/gles2_cmd_format_docs_autogen.h")
4712 4716
4713 if gen.errors > 0: 4717 if gen.errors > 0:
4714 print "%d errors" % gen.errors 4718 print "%d errors" % gen.errors
4715 sys.exit(1) 4719 sys.exit(1)
4716 4720
4717 if __name__ == '__main__': 4721 if __name__ == '__main__':
4718 main(sys.argv[1:]) 4722 main(sys.argv[1:])
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698