Lines Matching refs:pack
67 const struct gl_pixelstore_attrib *pack,
80 if (!pack->BufferObj) {
85 size = pack->BufferObj->Size;
112 start = _mesa_image_offset(dimensions, pack, width, height,
116 end = _mesa_image_offset(dimensions, pack, width, height,
284 assert(unpack != &ctx->Pack); /* catch pack/unpack mismatch */
301 const struct gl_pixelstore_attrib *pack,
306 if (pack->BufferObj) {
307 /* pack into PBO */
309 pack->BufferObj->Size,
311 pack->BufferObj,
319 /* pack to normal memory */
379 const struct gl_pixelstore_attrib *pack)
381 assert(pack != &ctx->Unpack); /* catch pack/unpack mismatch */
382 if (pack->BufferObj) {
383 _mesa_bufferobj_unmap(ctx, pack->BufferObj, MAP_INTERNAL);