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

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: Uploading again 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
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 1717 matching lines...) Expand 10 before | Expand all | Expand 10 after
1728 'decoder_func': 'DoGetVertexAttribiv', 1728 'decoder_func': 'DoGetVertexAttribiv',
1729 'expectation': False, 1729 'expectation': False,
1730 'client_test': False, 1730 'client_test': False,
1731 }, 1731 },
1732 'GetVertexAttribPointerv': { 1732 'GetVertexAttribPointerv': {
1733 'type': 'Custom', 1733 'type': 'Custom',
1734 'immediate': False, 1734 'immediate': False,
1735 'result': ['SizedResult<GLuint>'], 1735 'result': ['SizedResult<GLuint>'],
1736 'client_test': False, 1736 'client_test': False,
1737 }, 1737 },
1738 'ImageBufferDataCHROMIUM': {
1739 'type': 'Manual',
1740 'immediate': True,
1741 'client_test': False,
1742 'gen_cmd': False,
1743 'extension': True,
1744 'chromium': True,
1745 },
1738 'IsBuffer': { 1746 'IsBuffer': {
1739 'type': 'Is', 1747 'type': 'Is',
1740 'decoder_func': 'DoIsBuffer', 1748 'decoder_func': 'DoIsBuffer',
1741 'expectation': False, 1749 'expectation': False,
1742 }, 1750 },
1743 'IsEnabled': { 1751 'IsEnabled': {
1744 'type': 'Is', 1752 'type': 'Is',
1745 'decoder_func': 'DoIsEnabled', 1753 'decoder_func': 'DoIsEnabled',
1746 'impl_func': False, 1754 'impl_func': False,
1747 'expectation': False, 1755 'expectation': False,
(...skipping 5914 matching lines...) Expand 10 before | Expand all | Expand 10 after
7662 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") 7670 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h")
7663 7671
7664 if gen.errors > 0: 7672 if gen.errors > 0:
7665 print "%d errors" % gen.errors 7673 print "%d errors" % gen.errors
7666 return 1 7674 return 1
7667 return 0 7675 return 0
7668 7676
7669 7677
7670 if __name__ == '__main__': 7678 if __name__ == '__main__':
7671 sys.exit(main(sys.argv[1:])) 7679 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698