Changeset 38772 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Sep 16, 2011 8:13:14 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 74061
- Location:
- trunk/src/VBox/Additions/common/crOpenGL/pack
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_pixel.c
r38298 r38772 626 626 } 627 627 } 628 629 void PACKSPU_APIENTRY 630 packspu_CompressedTexImage1DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, 631 GLint border, GLsizei imagesize, const GLvoid *data) 632 { 633 if (crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 634 { 635 packspu_ApplyUnpackState(); 636 } 637 638 crPackCompressedTexImage1DARB(target, level, internalformat, width, border, imagesize, data); 639 640 if (crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 641 { 642 packspu_RestoreUnpackState(); 643 } 644 } 645 646 void PACKSPU_APIENTRY 647 packspu_CompressedTexImage2DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, 648 GLsizei height, GLint border, GLsizei imagesize, const GLvoid *data) 649 { 650 if (crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 651 { 652 packspu_ApplyUnpackState(); 653 } 654 655 crPackCompressedTexImage2DARB(target, level, internalformat, width, height, border, imagesize, data); 656 657 if (crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 658 { 659 packspu_RestoreUnpackState(); 660 } 661 } 662 663 void PACKSPU_APIENTRY 664 packspu_CompressedTexImage3DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, 665 GLsizei height, GLsizei depth, GLint border, GLsizei imagesize, const GLvoid *data) 666 { 667 if (crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 668 { 669 packspu_ApplyUnpackState(); 670 } 671 672 crPackCompressedTexImage3DARB(target, level, internalformat, width, height, depth, border, imagesize, data); 673 674 if (crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 675 { 676 packspu_RestoreUnpackState(); 677 } 678 } 679 680 void PACKSPU_APIENTRY 681 packspu_CompressedTexSubImage1DARB(GLenum target, GLint level, GLint xoffset, GLsizei width, 682 GLenum format, GLsizei imagesize, const GLvoid *data) 683 { 684 if (crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 685 { 686 packspu_ApplyUnpackState(); 687 } 688 689 crPackCompressedTexSubImage1DARB(target, level, xoffset, width, format, imagesize, data); 690 691 if (crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 692 { 693 packspu_RestoreUnpackState(); 694 } 695 } 696 697 void PACKSPU_APIENTRY 698 packspu_CompressedTexSubImage2DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, 699 GLsizei width, GLsizei height, GLenum format, GLsizei imagesize, const GLvoid *data) 700 { 701 if (crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 702 { 703 packspu_ApplyUnpackState(); 704 } 705 706 crPackCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, imagesize, data); 707 708 if (crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 709 { 710 packspu_RestoreUnpackState(); 711 } 712 } 713 714 void PACKSPU_APIENTRY 715 packspu_CompressedTexSubImage3DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, 716 GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, 717 GLsizei imagesize, const GLvoid *data) 718 { 719 if (crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 720 { 721 packspu_ApplyUnpackState(); 722 } 723 724 crPackCompressedTexSubImage3DARB(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imagesize, data); 725 726 if (crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 727 { 728 packspu_RestoreUnpackState(); 729 } 730 } -
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_special
r37760 r38772 108 108 VBoxPackDetachThread 109 109 ChromiumParameteriCR 110 CompressedTexImage1DARB 111 CompressedTexImage2DARB 112 CompressedTexImage3DARB 113 CompressedTexSubImage1DARB 114 CompressedTexSubImage2DARB 115 CompressedTexSubImage3DARB
Note:
See TracChangeset
for help on using the changeset viewer.