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

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

Issue 10124016: Addition of GL_CHROMIUM_copy_texture extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Removing dangling error checking code. Created 8 years, 8 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 | 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 os 8 import os
9 import os.path 9 import os.path
10 import sys 10 import sys
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 'GL_FASTEST', 580 'GL_FASTEST',
581 'GL_NICEST', 581 'GL_NICEST',
582 'GL_DONT_CARE', 582 'GL_DONT_CARE',
583 ], 583 ],
584 }, 584 },
585 'PixelStore': { 585 'PixelStore': {
586 'type': 'GLenum', 586 'type': 'GLenum',
587 'valid': [ 587 'valid': [
588 'GL_PACK_ALIGNMENT', 588 'GL_PACK_ALIGNMENT',
589 'GL_UNPACK_ALIGNMENT', 589 'GL_UNPACK_ALIGNMENT',
590 'GL_UNPACK_FLIP_Y_CHROMIUM',
591 'GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM',
590 ], 592 ],
591 'invalid': [ 593 'invalid': [
592 'GL_PACK_SWAP_BYTES', 594 'GL_PACK_SWAP_BYTES',
593 'GL_UNPACK_SWAP_BYTES', 595 'GL_UNPACK_SWAP_BYTES',
594 ], 596 ],
595 }, 597 },
596 'PixelStoreAlignment': { 598 'PixelStoreAlignment': {
597 'type': 'GLint', 599 'type': 'GLint',
598 'valid': [ 600 'valid': [
599 '1', 601 '1',
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
1503 'count': 4, 1505 'count': 4,
1504 'decoder_func': 'DoVertexAttrib4fv', 1506 'decoder_func': 'DoVertexAttrib4fv',
1505 }, 1507 },
1506 'VertexAttribPointer': { 1508 'VertexAttribPointer': {
1507 'type': 'Manual', 1509 'type': 'Manual',
1508 'cmd_args': 'GLuint indx, GLintVertexAttribSize size, ' 1510 'cmd_args': 'GLuint indx, GLintVertexAttribSize size, '
1509 'GLenumVertexAttribType type, GLboolean normalized, ' 1511 'GLenumVertexAttribType type, GLboolean normalized, '
1510 'GLsizei stride, GLuint offset', 1512 'GLsizei stride, GLuint offset',
1511 'client_test': False, 1513 'client_test': False,
1512 }, 1514 },
1515 'Viewport': {
1516 'decoder_func': 'DoViewport',
1517 },
1513 'ResizeCHROMIUM': { 1518 'ResizeCHROMIUM': {
1514 'type': 'Custom', 1519 'type': 'Custom',
1515 'impl_func': False, 1520 'impl_func': False,
1516 'unit_test': False, 1521 'unit_test': False,
1517 'extension': True, 1522 'extension': True,
1518 'chromium': True, 1523 'chromium': True,
1519 }, 1524 },
1520 'GetRequestableExtensionsCHROMIUM': { 1525 'GetRequestableExtensionsCHROMIUM': {
1521 'type': 'Custom', 1526 'type': 'Custom',
1522 'impl_func': False, 1527 'impl_func': False,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1557 'expectation': False, 1562 'expectation': False,
1558 'extension': True, 1563 'extension': True,
1559 'chromium': True, 1564 'chromium': True,
1560 }, 1565 },
1561 'TexImageIOSurface2DCHROMIUM': { 1566 'TexImageIOSurface2DCHROMIUM': {
1562 'decoder_func': 'DoTexImageIOSurface2DCHROMIUM', 1567 'decoder_func': 'DoTexImageIOSurface2DCHROMIUM',
1563 'unit_test': False, 1568 'unit_test': False,
1564 'extension': True, 1569 'extension': True,
1565 'chromium': True, 1570 'chromium': True,
1566 }, 1571 },
1572 'CopyTextureCHROMIUM': {
1573 'decoder_func': 'DoCopyTextureCHROMIUM',
1574 'unit_test': False,
1575 'extension': True,
1576 'chromium': True,
1577 },
1567 'TexStorage2DEXT': { 1578 'TexStorage2DEXT': {
1568 'unit_test': False, 1579 'unit_test': False,
1569 'extension': True, 1580 'extension': True,
1570 'decoder_func': 'DoTexStorage2DEXT', 1581 'decoder_func': 'DoTexStorage2DEXT',
1571 }, 1582 },
1572 'DrawArraysInstancedANGLE': { 1583 'DrawArraysInstancedANGLE': {
1573 'type': 'Manual', 1584 'type': 'Manual',
1574 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' 1585 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, '
1575 'GLsizei primcount', 1586 'GLsizei primcount',
1576 'extension': True, 1587 'extension': True,
(...skipping 4630 matching lines...) Expand 10 before | Expand all | Expand 10 after
6207 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h") 6218 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h")
6208 6219
6209 if gen.errors > 0: 6220 if gen.errors > 0:
6210 print "%d errors" % gen.errors 6221 print "%d errors" % gen.errors
6211 return 1 6222 return 1
6212 return 0 6223 return 0
6213 6224
6214 6225
6215 if __name__ == '__main__': 6226 if __name__ == '__main__':
6216 sys.exit(main(sys.argv[1:])) 6227 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt ('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