Home
last modified time | relevance | path

Searched refs:readpix_cache (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_readpixels.c258 pipe_resource_reference(&st->readpix_cache.src, NULL); in st_invalidate_readpix_cache()
259 pipe_resource_reference(&st->readpix_cache.cache, NULL); in st_invalidate_readpix_cache()
348 if (st->readpix_cache.src != src || 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 pipe_resource_reference(&st->readpix_cache.src, src); in try_cached_readpixels()
353 pipe_resource_reference(&st->readpix_cache.cache, NULL); in try_cached_readpixels()
354 st->readpix_cache.dst_format = dst_format; in try_cached_readpixels()
355 st->readpix_cache.level = strb->surface->u.tex.level; in try_cached_readpixels()
[all …]
Dst_context.h209 } readpix_cache; member