Decide whether blobs should always get standalone textures to make them immune from eviction during shrinking
Categories
(Core :: Graphics: WebRender, enhancement, P2)
Tracking
()
People
(Reporter: gw, Unassigned)
References
Details
This can occur when the entire cache is cleared in maybe_reclaim_shared_cache_memory().
Comment 1•7 years ago
|
||
We basically need to ensure that anything with Eviction::Manual gets a standalone texture. I can write up a patch when I have a minute.
Comment 2•7 years ago
|
||
So to give a bit more context here - there are certain situations (specifically memory pressure and when the cache has been underutilized for too long) that we drop the entire shared cache texture and rebuild it. This has a bit of a mismatch with what we do for blobs, where we set the Eviction to Manual, because we don't want them getting evicted.
I thought this would be a correctness issue, but it looks like we do handle it [1]. That said, it looks like it requires synchronous blob rasterization, which is probably not great, but may be ok in the rare situations where we actually shrink the texture cache.
So I think this probably doesn't block, and may or may not be something we want to fix at all. Bumping for now, pending any disagreement from gw or nical.
Updated•7 years ago
|
Updated•7 years ago
|
| Reporter | ||
Comment 3•4 years ago
|
||
I don't think we plan to do this.
Description
•