Lines Matching refs:unpack
96 * current pixel unpack settings.
259 const struct gl_pixelstore_attrib *unpack )
280 if (unpack->LsbFirst) {
281 GLubyte mask = 1 << (unpack->SkipPixels & 0x7);
295 GLubyte mask = 128 >> (unpack->SkipPixels & 0x7);
330 if (unpack->SwapBytes) {
347 if (unpack->SwapBytes) {
364 if (unpack->SwapBytes) {
381 if (unpack->SwapBytes) {
398 if (unpack->SwapBytes) {
416 if (unpack->SwapBytes) {
433 if (unpack->SwapBytes) {
450 if (unpack->SwapBytes) {
1205 const struct gl_pixelstore_attrib *unpack )
1218 flipBytes = unpack->LsbFirst;
1235 swap2 = (bytesPerComp == 2) && unpack->SwapBytes;
1236 swap4 = (bytesPerComp == 4) && unpack->SwapBytes;
1252 const GLvoid *src = _mesa_image_address(dimensions, unpack, pixels,
1255 if ((type == GL_BITMAP) && (unpack->SkipPixels & 0x7)) {
1258 if (unpack->LsbFirst) {
1259 GLubyte srcMask = 1 << (unpack->SkipPixels & 0x7);
1286 GLubyte srcMask = 128 >> (unpack->SkipPixels & 0x7);
1640 const struct util_format_unpack_description *unpack =
1643 if (unpack->unpack_rgba_8unorm) {
1644 unpack->unpack_rgba_8unorm((uint8_t *)dst, src, n);