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

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

Issue 10440019: Add support for GL_CHROMIUM_pixel_transfer_buffer_object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
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 1705 matching lines...) Expand 10 before | Expand all | Expand 10 after
1716 }, 1716 },
1717 'IsTexture': { 1717 'IsTexture': {
1718 'type': 'Is', 1718 'type': 'Is',
1719 'decoder_func': 'DoIsTexture', 1719 'decoder_func': 'DoIsTexture',
1720 'expectation': False, 1720 'expectation': False,
1721 }, 1721 },
1722 'LinkProgram': { 1722 'LinkProgram': {
1723 'decoder_func': 'DoLinkProgram', 1723 'decoder_func': 'DoLinkProgram',
1724 'impl_func': False, 1724 'impl_func': False,
1725 }, 1725 },
1726 'MapBufferCHROMIUM': {
1727 'gen_cmd': False,
1728 'extension': True,
1729 'chromium': True,
1730 'client_test': False,
1731 'chromium': True,
1732 },
1726 'MapBufferSubDataCHROMIUM': { 1733 'MapBufferSubDataCHROMIUM': {
1727 'gen_cmd': False, 1734 'gen_cmd': False,
1728 'extension': True, 1735 'extension': True,
1729 'chromium': True, 1736 'chromium': True,
1730 'client_test': False, 1737 'client_test': False,
1731 'pepper_interface': 'ChromiumMapSub', 1738 'pepper_interface': 'ChromiumMapSub',
1732 }, 1739 },
1733 'MapTexSubImage2DCHROMIUM': { 1740 'MapTexSubImage2DCHROMIUM': {
1734 'gen_cmd': False, 1741 'gen_cmd': False,
1735 'extension': True, 1742 'extension': True,
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1938 'data_type': 'GLfloat', 1945 'data_type': 'GLfloat',
1939 'count': 9, 1946 'count': 9,
1940 'decoder_func': 'DoUniformMatrix3fv', 1947 'decoder_func': 'DoUniformMatrix3fv',
1941 }, 1948 },
1942 'UniformMatrix4fv': { 1949 'UniformMatrix4fv': {
1943 'type': 'PUTn', 1950 'type': 'PUTn',
1944 'data_type': 'GLfloat', 1951 'data_type': 'GLfloat',
1945 'count': 16, 1952 'count': 16,
1946 'decoder_func': 'DoUniformMatrix4fv', 1953 'decoder_func': 'DoUniformMatrix4fv',
1947 }, 1954 },
1955 'UnmapBufferCHROMIUM': {
1956 'gen_cmd': False,
1957 'extension': True,
1958 'chromium': True,
1959 'client_test': False,
1960 'chromium': True,
1961 },
1948 'UnmapBufferSubDataCHROMIUM': { 1962 'UnmapBufferSubDataCHROMIUM': {
1949 'gen_cmd': False, 1963 'gen_cmd': False,
1950 'extension': True, 1964 'extension': True,
1951 'chromium': True, 1965 'chromium': True,
1952 'client_test': False, 1966 'client_test': False,
1953 'pepper_interface': 'ChromiumMapSub', 1967 'pepper_interface': 'ChromiumMapSub',
1954 }, 1968 },
1955 'UnmapTexSubImage2DCHROMIUM': { 1969 'UnmapTexSubImage2DCHROMIUM': {
1956 'gen_cmd': False, 1970 'gen_cmd': False,
1957 'extension': True, 1971 'extension': True,
(...skipping 5403 matching lines...) Expand 10 before | Expand all | Expand 10 after
7361 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h") 7375 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h")
7362 7376
7363 if gen.errors > 0: 7377 if gen.errors > 0:
7364 print "%d errors" % gen.errors 7378 print "%d errors" % gen.errors
7365 return 1 7379 return 1
7366 return 0 7380 return 0
7367 7381
7368 7382
7369 if __name__ == '__main__': 7383 if __name__ == '__main__':
7370 sys.exit(main(sys.argv[1:])) 7384 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698