Searched refs:readpix_cache (Results 1 – 3 of 3) sorted by relevance
343 if (st->readpix_cache.src != src || in try_cached_readpixels()344 st->readpix_cache.dst_format != dst_format || in try_cached_readpixels()345 st->readpix_cache.level != strb->surface->u.tex.level || in try_cached_readpixels()346 st->readpix_cache.layer != strb->surface->u.tex.first_layer) { in try_cached_readpixels()347 pipe_resource_reference(&st->readpix_cache.src, src); in try_cached_readpixels()348 pipe_resource_reference(&st->readpix_cache.cache, NULL); in try_cached_readpixels()349 st->readpix_cache.dst_format = dst_format; in try_cached_readpixels()350 st->readpix_cache.level = strb->surface->u.tex.level; in try_cached_readpixels()351 st->readpix_cache.layer = strb->surface->u.tex.first_layer; in try_cached_readpixels()352 st->readpix_cache.hits = 0; in try_cached_readpixels()[all …]
61 if (unlikely(st->readpix_cache.src)) { in st_invalidate_readpix_cache()62 pipe_resource_reference(&st->readpix_cache.src, NULL); in st_invalidate_readpix_cache()63 pipe_resource_reference(&st->readpix_cache.cache, NULL); in st_invalidate_readpix_cache()
302 } readpix_cache; member