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

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

Issue 1236053003: texture mipmap level is not zero-only in ES 3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code rebase Created 5 years 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_cmd_helper_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 1980 matching lines...) Expand 10 before | Expand all | Expand 10 after
1991 '1', 1991 '1',
1992 '2', 1992 '2',
1993 '3', 1993 '3',
1994 '4', 1994 '4',
1995 ], 1995 ],
1996 'invalid': [ 1996 'invalid': [
1997 '0', 1997 '0',
1998 '5', 1998 '5',
1999 ], 1999 ],
2000 }, 2000 },
2001 'ZeroOnly': {
2002 'type': 'GLint',
2003 'is_complete': True,
2004 'valid': [
2005 '0',
2006 ],
2007 'invalid': [
2008 '1',
2009 ],
2010 },
2011 'FalseOnly': { 2001 'FalseOnly': {
2012 'type': 'GLboolean', 2002 'type': 'GLboolean',
2013 'is_complete': True, 2003 'is_complete': True,
2014 'valid': [ 2004 'valid': [
2015 'false', 2005 'false',
2016 ], 2006 ],
2017 'invalid': [ 2007 'invalid': [
2018 'true', 2008 'true',
2019 ], 2009 ],
2020 }, 2010 },
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
2677 'trace_level': 1, 2667 'trace_level': 1,
2678 }, 2668 },
2679 'FramebufferRenderbuffer': { 2669 'FramebufferRenderbuffer': {
2680 'decoder_func': 'DoFramebufferRenderbuffer', 2670 'decoder_func': 'DoFramebufferRenderbuffer',
2681 'gl_test_func': 'glFramebufferRenderbufferEXT', 2671 'gl_test_func': 'glFramebufferRenderbufferEXT',
2682 'trace_level': 1, 2672 'trace_level': 1,
2683 }, 2673 },
2684 'FramebufferTexture2D': { 2674 'FramebufferTexture2D': {
2685 'decoder_func': 'DoFramebufferTexture2D', 2675 'decoder_func': 'DoFramebufferTexture2D',
2686 'gl_test_func': 'glFramebufferTexture2DEXT', 2676 'gl_test_func': 'glFramebufferTexture2DEXT',
2677 'unit_test': False,
2687 'trace_level': 1, 2678 'trace_level': 1,
2688 }, 2679 },
2689 'FramebufferTexture2DMultisampleEXT': { 2680 'FramebufferTexture2DMultisampleEXT': {
2690 'decoder_func': 'DoFramebufferTexture2DMultisample', 2681 'decoder_func': 'DoFramebufferTexture2DMultisample',
2691 'gl_test_func': 'glFramebufferTexture2DMultisampleEXT', 2682 'gl_test_func': 'glFramebufferTexture2DMultisampleEXT',
2692 'expectation': False, 2683 'expectation': False,
2693 'unit_test': False, 2684 'unit_test': False,
2694 'extension': 'EXT_multisampled_render_to_texture', 2685 'extension': 'EXT_multisampled_render_to_texture',
2695 'extension_flag': 'multisampled_render_to_texture', 2686 'extension_flag': 'multisampled_render_to_texture',
2696 'trace_level': 1, 2687 'trace_level': 1,
(...skipping 8408 matching lines...) Expand 10 before | Expand all | Expand 10 after
11105 Format(gen.generated_cpp_filenames) 11096 Format(gen.generated_cpp_filenames)
11106 11097
11107 if gen.errors > 0: 11098 if gen.errors > 0:
11108 print "%d errors" % gen.errors 11099 print "%d errors" % gen.errors
11109 return 1 11100 return 1
11110 return 0 11101 return 0
11111 11102
11112 11103
11113 if __name__ == '__main__': 11104 if __name__ == '__main__':
11114 sys.exit(main(sys.argv[1:])) 11105 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698