Lines Matching refs:spr
951 struct swr_resource *spr = swr_resource(pt); in swr_resource_destroy() local
953 if (spr->display_target) { in swr_resource_destroy()
959 winsys->displaytarget_destroy(winsys, spr->display_target); in swr_resource_destroy()
961 if (spr->swr.numSamples > 1) { in swr_resource_destroy()
963 struct swr_resource *alt = swr_resource(spr->resolve_target); in swr_resource_destroy()
967 swr_fence_work_free(screen->flush_fence, (void*)(spr->swr.xpBaseAddress), true); in swr_resource_destroy()
973 if (spr->swr.numSamples > 1) { in swr_resource_destroy()
975 struct swr_resource *alt = swr_resource(spr->resolve_target); in swr_resource_destroy()
979 swr_fence_work_free(screen->flush_fence, (void*)(spr->swr.xpBaseAddress), true); in swr_resource_destroy()
981 (void*)(spr->secondary.xpBaseAddress), true); in swr_resource_destroy()
990 FREE(spr); in swr_resource_destroy()
1005 struct swr_resource *spr = swr_resource(resource); in swr_flush_frontbuffer() local
1015 if (pipe && spr->swr.numSamples > 1) { in swr_flush_frontbuffer()
1016 struct pipe_resource *resolve_target = spr->resolve_target; in swr_flush_frontbuffer()
1021 void *map = winsys->displaytarget_map(winsys, spr->display_target, in swr_flush_frontbuffer()
1024 winsys->displaytarget_unmap(winsys, spr->display_target); in swr_flush_frontbuffer()
1027 debug_assert(spr->display_target); in swr_flush_frontbuffer()
1028 if (spr->display_target) in swr_flush_frontbuffer()
1030 winsys, spr->display_target, context_private, sub_box); in swr_flush_frontbuffer()