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

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

Issue 182413006: Workaround Linux AMD driver bug where TEXTURE_MAX_ANISOTROPY init value is incorrect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rid of ppapi change Created 6 years, 9 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 | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('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 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after
1771 ], 1771 ],
1772 }, 1772 },
1773 'GetShaderSource': { 1773 'GetShaderSource': {
1774 'type': 'STRn', 1774 'type': 'STRn',
1775 'get_len_func': 'DoGetShaderiv', 1775 'get_len_func': 'DoGetShaderiv',
1776 'get_len_enum': 'GL_SHADER_SOURCE_LENGTH', 1776 'get_len_enum': 'GL_SHADER_SOURCE_LENGTH',
1777 'unit_test': False, 1777 'unit_test': False,
1778 'client_test': False, 1778 'client_test': False,
1779 }, 1779 },
1780 'GetString': { 1780 'GetString': {
1781 'type': 'Custom', 1781 'type': 'Custom',
1782 'client_test': False, 1782 'client_test': False,
1783 'cmd_args': 'GLenumStringType name, uint32 bucket_id', 1783 'cmd_args': 'GLenumStringType name, uint32 bucket_id',
1784 }, 1784 },
1785 'GetTexParameterfv': {'type': 'GETn', 'result': ['SizedResult<GLfloat>']}, 1785 'GetTexParameterfv': {
1786 'GetTexParameteriv': {'type': 'GETn', 'result': ['SizedResult<GLint>']}, 1786 'type': 'GETn',
1787 'decoder_func': 'DoGetTexParameterfv',
1788 'result': ['SizedResult<GLfloat>']
1789 },
1790 'GetTexParameteriv': {
1791 'type': 'GETn',
1792 'decoder_func': 'DoGetTexParameteriv',
1793 'result': ['SizedResult<GLint>']
1794 },
1787 'GetTranslatedShaderSourceANGLE': { 1795 'GetTranslatedShaderSourceANGLE': {
1788 'type': 'STRn', 1796 'type': 'STRn',
1789 'get_len_func': 'DoGetShaderiv', 1797 'get_len_func': 'DoGetShaderiv',
1790 'get_len_enum': 'GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE', 1798 'get_len_enum': 'GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE',
1791 'unit_test': False, 1799 'unit_test': False,
1792 'extension': True, 1800 'extension': True,
1793 }, 1801 },
1794 'GetUniformfv': { 1802 'GetUniformfv': {
1795 'type': 'Custom', 1803 'type': 'Custom',
1796 'immediate': False, 1804 'immediate': False,
(...skipping 6101 matching lines...) Expand 10 before | Expand all | Expand 10 after
7898 "../../mojo/public/gles2/gles2_call_visitor_autogen.h") 7906 "../../mojo/public/gles2/gles2_call_visitor_autogen.h")
7899 7907
7900 if gen.errors > 0: 7908 if gen.errors > 0:
7901 print "%d errors" % gen.errors 7909 print "%d errors" % gen.errors
7902 return 1 7910 return 1
7903 return 0 7911 return 0
7904 7912
7905 7913
7906 if __name__ == '__main__': 7914 if __name__ == '__main__':
7907 sys.exit(main(sys.argv[1:])) 7915 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698