Lines Matching refs:pack
69 const struct gl_pixelstore_attrib *pack,
82 if (!pack->BufferObj) {
87 size = pack->BufferObj->Size;
114 start = _mesa_image_offset(dimensions, pack, width, height,
118 end = _mesa_image_offset(dimensions, pack, width, height,
286 assert(unpack != &ctx->Pack); /* catch pack/unpack mismatch */
303 const struct gl_pixelstore_attrib *pack,
308 if (pack->BufferObj) {
309 /* pack into PBO */
311 pack->BufferObj->Size,
313 pack->BufferObj,
321 /* pack to normal memory */
381 const struct gl_pixelstore_attrib *pack)
383 assert(pack != &ctx->Unpack); /* catch pack/unpack mismatch */
384 if (pack->BufferObj) {
385 ctx->Driver.UnmapBuffer(ctx, pack->BufferObj, MAP_INTERNAL);