Lines Matching refs:packing

974                   const struct gl_pixelstore_attrib *packing,  in store_texsubimage()  argument
1005 format, type, pixels, packing, caller); in store_texsubimage()
1031 srcImageStride = _mesa_image_row_stride(packing, width, format, type); in store_texsubimage()
1039 srcImageStride = _mesa_image_image_stride(packing, width, height, in store_texsubimage()
1046 srcImageStride = _mesa_image_image_stride(packing, width, height, in store_texsubimage()
1052 srcImageStride = _mesa_image_image_stride(packing, width, height, in store_texsubimage()
1080 format, type, src, packing); in store_texsubimage()
1094 _mesa_unmap_teximage_pbo(ctx, packing); in store_texsubimage()
1109 const struct gl_pixelstore_attrib *packing) in _mesa_store_teximage() argument
1124 format, type, pixels, packing, "glTexImage"); in _mesa_store_teximage()
1137 const struct gl_pixelstore_attrib *packing) in _mesa_store_texsubimage() argument
1141 format, type, pixels, packing, "glTexSubImage"); in _mesa_store_texsubimage()
1267 const struct gl_pixelstore_attrib *packing, in _mesa_compute_compressed_pixelstore() argument
1281 if (packing->CompressedBlockWidth && in _mesa_compute_compressed_pixelstore()
1282 packing->CompressedBlockSize) { in _mesa_compute_compressed_pixelstore()
1284 bw = packing->CompressedBlockWidth; in _mesa_compute_compressed_pixelstore()
1286 if (packing->RowLength) { in _mesa_compute_compressed_pixelstore()
1287 store->TotalBytesPerRow = packing->CompressedBlockSize * in _mesa_compute_compressed_pixelstore()
1288 ((packing->RowLength + bw - 1) / bw); in _mesa_compute_compressed_pixelstore()
1291 store->SkipBytes += packing->SkipPixels * packing->CompressedBlockSize / bw; in _mesa_compute_compressed_pixelstore()
1294 if (dims > 1 && packing->CompressedBlockHeight && in _mesa_compute_compressed_pixelstore()
1295 packing->CompressedBlockSize) { in _mesa_compute_compressed_pixelstore()
1297 bh = packing->CompressedBlockHeight; in _mesa_compute_compressed_pixelstore()
1299 store->SkipBytes += packing->SkipRows * store->TotalBytesPerRow / bh; in _mesa_compute_compressed_pixelstore()
1302 if (packing->ImageHeight) { in _mesa_compute_compressed_pixelstore()
1303 store->TotalRowsPerSlice = (packing->ImageHeight + bh - 1) / bh; in _mesa_compute_compressed_pixelstore()
1307 if (dims > 2 && packing->CompressedBlockDepth && in _mesa_compute_compressed_pixelstore()
1308 packing->CompressedBlockSize) { in _mesa_compute_compressed_pixelstore()
1310 int bd = packing->CompressedBlockDepth; in _mesa_compute_compressed_pixelstore()
1312 store->SkipBytes += packing->SkipImages * store->TotalBytesPerRow * in _mesa_compute_compressed_pixelstore()