[PATCH xserver 2/2] glamor: Always purge the FBO cache in BlockHandler

Eric Anholt eric at anholt.net
Mon Mar 6 18:02:39 UTC 2017

Michel Dänzer <michel at daenzer.net> writes:

> From: Michel Dänzer <michel.daenzer at amd.com>
> Or if the cache watermark is reached, whichever comes earlier.
> This slightly simplifies the FBO cache management, and prevents it from
> potentially holding entries for a long time, while preserving the main
> benefit of the cache for bursts of drawing operations.
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

For re-adding an FBO cache, I would need to see that we have
APPLE_object_purgeable used so that the FBO cache can be evicted, and
use proper timers to garbage collect the FBOs instead of waiting for N
blockhandlers, which is only vaguely related to wall time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170306/7c55416d/attachment.sig>

More information about the xorg-devel mailing list