Lines Matching defs:packing

978                   const struct gl_pixelstore_attrib *packing,
1009 format, type, pixels, packing, caller);
1035 srcImageStride = _mesa_image_row_stride(packing, width, format, type);
1043 srcImageStride = _mesa_image_image_stride(packing, width, height,
1050 srcImageStride = _mesa_image_image_stride(packing, width, height,
1056 srcImageStride = _mesa_image_image_stride(packing, width, height,
1085 format, type, src, packing);
1099 _mesa_unmap_teximage_pbo(ctx, packing);
1114 const struct gl_pixelstore_attrib *packing)
1129 format, type, pixels, packing, "glTexImage");
1142 const struct gl_pixelstore_attrib *packing)
1146 format, type, pixels, packing, "glTexSubImage");
1265 * \param packing pixelstore parameters describing user-space image packing
1272 const struct gl_pixelstore_attrib *packing,
1286 if (packing->CompressedBlockWidth &&
1287 packing->CompressedBlockSize) {
1289 bw = packing->CompressedBlockWidth;
1291 if (packing->RowLength) {
1292 store->TotalBytesPerRow = packing->CompressedBlockSize *
1293 ((packing->RowLength + bw - 1) / bw);
1297 packing->SkipPixels * packing->CompressedBlockSize / bw;
1300 if (dims > 1 && packing->CompressedBlockHeight &&
1301 packing->CompressedBlockSize) {
1303 bh = packing->CompressedBlockHeight;
1305 store->SkipBytes += packing->SkipRows * store->TotalBytesPerRow / bh;
1308 if (packing->ImageHeight) {
1309 store->TotalRowsPerSlice = (packing->ImageHeight + bh - 1) / bh;
1313 if (dims > 2 && packing->CompressedBlockDepth &&
1314 packing->CompressedBlockSize) {
1316 int bd = packing->CompressedBlockDepth;
1318 store->SkipBytes += packing->SkipImages * store->TotalBytesPerRow *