Lines Matching refs:packing

979                   const struct gl_pixelstore_attrib *packing,
1010 format, type, pixels, packing, caller);
1036 srcImageStride = _mesa_image_row_stride(packing, width, format, type);
1044 srcImageStride = _mesa_image_image_stride(packing, width, height,
1051 srcImageStride = _mesa_image_image_stride(packing, width, height,
1057 srcImageStride = _mesa_image_image_stride(packing, width, height,
1086 format, type, src, packing);
1100 _mesa_unmap_teximage_pbo(ctx, packing);
1115 const struct gl_pixelstore_attrib *packing)
1130 format, type, pixels, packing, "glTexImage");
1143 const struct gl_pixelstore_attrib *packing)
1147 format, type, pixels, packing, "glTexSubImage");
1266 * \param packing pixelstore parameters describing user-space image packing
1273 const struct gl_pixelstore_attrib *packing,
1287 if (packing->CompressedBlockWidth &&
1288 packing->CompressedBlockSize) {
1290 bw = packing->CompressedBlockWidth;
1292 if (packing->RowLength) {
1293 store->TotalBytesPerRow = packing->CompressedBlockSize *
1294 ((packing->RowLength + bw - 1) / bw);
1298 packing->SkipPixels * packing->CompressedBlockSize / bw;
1301 if (dims > 1 && packing->CompressedBlockHeight &&
1302 packing->CompressedBlockSize) {
1304 bh = packing->CompressedBlockHeight;
1306 store->SkipBytes += packing->SkipRows * store->TotalBytesPerRow / bh;
1309 if (packing->ImageHeight) {
1310 store->TotalRowsPerSlice = (packing->ImageHeight + bh - 1) / bh;
1314 if (dims > 2 && packing->CompressedBlockDepth &&
1315 packing->CompressedBlockSize) {
1317 int bd = packing->CompressedBlockDepth;
1319 store->SkipBytes += packing->SkipImages * store->TotalBytesPerRow *