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

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

Issue 14456004: GPU client side changes for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Add missing parameter in GLES2Implementation ctor in GLES2Implementation unittest Created 7 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
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/gles2_c_lib_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 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 }, 1299 },
1300 'CopyTexImage2D': { 1300 'CopyTexImage2D': {
1301 'decoder_func': 'DoCopyTexImage2D', 1301 'decoder_func': 'DoCopyTexImage2D',
1302 'unit_test': False, 1302 'unit_test': False,
1303 'defer_reads': True, 1303 'defer_reads': True,
1304 }, 1304 },
1305 'CopyTexSubImage2D': { 1305 'CopyTexSubImage2D': {
1306 'decoder_func': 'DoCopyTexSubImage2D', 1306 'decoder_func': 'DoCopyTexSubImage2D',
1307 'defer_reads': True, 1307 'defer_reads': True,
1308 }, 1308 },
1309 'CreateImageCHROMIUM': {
1310 'type': 'Manual',
1311 'cmd_args': 'GLsizei width, GLsizei height, GLenum internalformat',
1312 'result': ['GLuint'],
1313 'client_test': False,
1314 'gen_cmd': False,
1315 'expectation': False,
1316 'extension': True,
1317 'chromium': True,
1318 },
1319 'DestroyImageCHROMIUM': {
1320 'type': 'Manual',
1321 'immediate': True,
1322 'client_test': False,
1323 'gen_cmd': False,
1324 'extension': True,
1325 'chromium': True,
1326 },
1327 'GetImageParameterivCHROMIUM': {
1328 'type': 'Manual',
1329 'client_test': False,
1330 'gen_cmd': False,
1331 'expectation': False,
1332 'extension': True,
1333 'chromium': True,
1334 },
1309 'CreateProgram': { 1335 'CreateProgram': {
1310 'type': 'Create', 1336 'type': 'Create',
1311 'client_test': False, 1337 'client_test': False,
1312 }, 1338 },
1313 'CreateShader': { 1339 'CreateShader': {
1314 'type': 'Create', 1340 'type': 'Create',
1315 'client_test': False, 1341 'client_test': False,
1316 }, 1342 },
1317 'BlendColor': { 1343 'BlendColor': {
1318 'type': 'StateSet', 1344 'type': 'StateSet',
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
1773 }, 1799 },
1774 'LinkProgram': { 1800 'LinkProgram': {
1775 'decoder_func': 'DoLinkProgram', 1801 'decoder_func': 'DoLinkProgram',
1776 'impl_func': False, 1802 'impl_func': False,
1777 }, 1803 },
1778 'MapBufferCHROMIUM': { 1804 'MapBufferCHROMIUM': {
1779 'gen_cmd': False, 1805 'gen_cmd': False,
1780 'extension': True, 1806 'extension': True,
1781 'chromium': True, 1807 'chromium': True,
1782 'client_test': False, 1808 'client_test': False,
1783 'chromium': True,
1784 }, 1809 },
1785 'MapBufferSubDataCHROMIUM': { 1810 'MapBufferSubDataCHROMIUM': {
1786 'gen_cmd': False, 1811 'gen_cmd': False,
1787 'extension': True, 1812 'extension': True,
1788 'chromium': True, 1813 'chromium': True,
1789 'client_test': False, 1814 'client_test': False,
1790 'pepper_interface': 'ChromiumMapSub', 1815 'pepper_interface': 'ChromiumMapSub',
1791 }, 1816 },
1817 'MapImageCHROMIUM': {
1818 'gen_cmd': False,
1819 'extension': True,
1820 'chromium': True,
1821 'client_test': False,
1822 },
1792 'MapTexSubImage2DCHROMIUM': { 1823 'MapTexSubImage2DCHROMIUM': {
1793 'gen_cmd': False, 1824 'gen_cmd': False,
1794 'extension': True, 1825 'extension': True,
1795 'chromium': True, 1826 'chromium': True,
1796 'client_test': False, 1827 'client_test': False,
1797 'pepper_interface': 'ChromiumMapSub', 1828 'pepper_interface': 'ChromiumMapSub',
1798 }, 1829 },
1799 'PixelStorei': {'type': 'Manual'}, 1830 'PixelStorei': {'type': 'Manual'},
1800 'PostSubBufferCHROMIUM': { 1831 'PostSubBufferCHROMIUM': {
1801 'type': 'Custom', 1832 'type': 'Custom',
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
2008 'type': 'PUTn', 2039 'type': 'PUTn',
2009 'data_type': 'GLfloat', 2040 'data_type': 'GLfloat',
2010 'count': 16, 2041 'count': 16,
2011 'decoder_func': 'DoUniformMatrix4fv', 2042 'decoder_func': 'DoUniformMatrix4fv',
2012 }, 2043 },
2013 'UnmapBufferCHROMIUM': { 2044 'UnmapBufferCHROMIUM': {
2014 'gen_cmd': False, 2045 'gen_cmd': False,
2015 'extension': True, 2046 'extension': True,
2016 'chromium': True, 2047 'chromium': True,
2017 'client_test': False, 2048 'client_test': False,
2018 'chromium': True,
2019 }, 2049 },
2020 'UnmapBufferSubDataCHROMIUM': { 2050 'UnmapBufferSubDataCHROMIUM': {
2021 'gen_cmd': False, 2051 'gen_cmd': False,
2022 'extension': True, 2052 'extension': True,
2023 'chromium': True, 2053 'chromium': True,
2024 'client_test': False, 2054 'client_test': False,
2025 'pepper_interface': 'ChromiumMapSub', 2055 'pepper_interface': 'ChromiumMapSub',
2026 }, 2056 },
2057 'UnmapImageCHROMIUM': {
2058 'gen_cmd': False,
2059 'extension': True,
2060 'chromium': True,
2061 'client_test': False,
2062 },
2027 'UnmapTexSubImage2DCHROMIUM': { 2063 'UnmapTexSubImage2DCHROMIUM': {
2028 'gen_cmd': False, 2064 'gen_cmd': False,
2029 'extension': True, 2065 'extension': True,
2030 'chromium': True, 2066 'chromium': True,
2031 'client_test': False, 2067 'client_test': False,
2032 'pepper_interface': 'ChromiumMapSub', 2068 'pepper_interface': 'ChromiumMapSub',
2033 }, 2069 },
2034 'UseProgram': { 2070 'UseProgram': {
2035 'decoder_func': 'DoUseProgram', 2071 'decoder_func': 'DoUseProgram',
2036 'impl_func': False, 2072 'impl_func': False,
(...skipping 5625 matching lines...) Expand 10 before | Expand all | Expand 10 after
7662 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") 7698 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h")
7663 7699
7664 if gen.errors > 0: 7700 if gen.errors > 0:
7665 print "%d errors" % gen.errors 7701 print "%d errors" % gen.errors
7666 return 1 7702 return 1
7667 return 0 7703 return 0
7668 7704
7669 7705
7670 if __name__ == '__main__': 7706 if __name__ == '__main__':
7671 sys.exit(main(sys.argv[1:])) 7707 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698