Lines Matching refs:pack
67 const struct gl_pixelstore_attrib *pack, in _mesa_validate_pbo_access() argument
80 if (!_mesa_is_bufferobj(pack->BufferObj)) { in _mesa_validate_pbo_access()
85 size = pack->BufferObj->Size; in _mesa_validate_pbo_access()
106 start = _mesa_image_offset(dimensions, pack, width, height, in _mesa_validate_pbo_access()
110 end = _mesa_image_offset(dimensions, pack, width, height, in _mesa_validate_pbo_access()
238 const struct gl_pixelstore_attrib *pack, in _mesa_map_pbo_dest() argument
243 if (_mesa_is_bufferobj(pack->BufferObj)) { in _mesa_map_pbo_dest()
246 pack->BufferObj->Size, in _mesa_map_pbo_dest()
248 pack->BufferObj); in _mesa_map_pbo_dest()
315 const struct gl_pixelstore_attrib *pack) in _mesa_unmap_pbo_dest() argument
317 ASSERT(pack != &ctx->Unpack); /* catch pack/unpack mismatch */ in _mesa_unmap_pbo_dest()
318 if (_mesa_is_bufferobj(pack->BufferObj)) { in _mesa_unmap_pbo_dest()
319 ctx->Driver.UnmapBuffer(ctx, pack->BufferObj); in _mesa_unmap_pbo_dest()