Home | History | Annotate | Download | only in main

Lines Matching full:unpack

94  * Unpack a 32x32 pixel polygon stipple from user memory using the
95 * current pixel unpack settings.
145 * Unpack bitmap data. Resulting data will be in most-significant-bit-first
2775 const struct gl_pixelstore_attrib *unpack )
2795 if (unpack->LsbFirst) {
2796 GLubyte mask = 1 << (unpack->SkipPixels & 0x7);
2810 GLubyte mask = 128 >> (unpack->SkipPixels & 0x7);
2845 if (unpack->SwapBytes) {
2862 if (unpack->SwapBytes) {
2879 if (unpack->SwapBytes) {
2896 if (unpack->SwapBytes) {
2913 if (unpack->SwapBytes) {
2930 if (unpack->SwapBytes) {
2947 if (unpack->SwapBytes) {
2964 if (unpack->SwapBytes) {
4228 * Unpack a row of color image data from a client buffer according to
4907 * Unpack a row of color index data from a client buffer according to
5126 * Unpack a row of stencil data from a client buffer according to
5414 * Unpack a row of depth/z values from memory, returning GLushort, GLuint
5833 * Unpack image data. Apply byte swapping, byte flipping (bitmap).
5842 const struct gl_pixelstore_attrib *unpack )
5855 flipBytes = unpack->LsbFirst;
5872 swap2 = (bytesPerComp == 2) && unpack->SwapBytes;
5873 swap4 = (bytesPerComp == 4) && unpack->SwapBytes;
5889 const GLvoid *src = _mesa_image_address(dimensions, unpack, pixels,
5892 if ((type == GL_BITMAP) && (unpack->SkipPixels & 0x7)) {
5895 if (unpack->LsbFirst) {
5896 GLubyte srcMask = 1 << (unpack->SkipPixels & 0x7);
5923 GLubyte srcMask = 128 >> (unpack->SkipPixels & 0x7);
5974 * If we unpack colors from a luminance surface, we'll get pixel colors