This commit is contained in:
fzyzcjy 2022-09-16 04:19:03 +08:00 committed by GitHub
parent c3db8d1dc8
commit 9a31ce9956

View File

@ -99,11 +99,11 @@ struct RasterCacheMetrics {
* At the start of each layer's preroll, add cache items to
* `PrerollContext::raster_cached_entries`.
* - RasterCacheItem::PrerollFinalize
* At the end of each layer's preroll, may mark cache entris as
* At the end of each layer's preroll, may mark cache entries as
* encountered by the current frame.
* - Paint stage
* - RasterCache::EvictUnusedCacheEntries
* Evit cached images that are no longer used.
* Evict cached images that are no longer used.
* - LayerTree::TryToPrepareRasterCache
* Create cache image for each cache entry if it does not exist.
* - LayerTree::Paint - for each layer in the tree: