Module net::image_cache
source · Structs§
- AllPendingLoads π
- CompletedLoad πRepresents an image that has completed loading. Images that fail to load (due to network or decode failure) are still stored here, so that they arenβt fetched again.
- DecoderMsg πMessage that the decoder worker threads send to the image cache.
- ImageCacheStore π
- LoadKeyGenerator π
- PendingLoad πRepresents an image that is either being loaded by the resource thread, or decoded by a worker thread.
Enums§
- CacheResult πResult of accessing a cache.
- ImageBytes π
- LoadResult π
Functions§
- decode_bytes_sync πTODO(gw): Remaining work on image cache: * Make use of the prefetch support in various parts of the code. * Profile time in GetImageIfAvailable - might be worth caching these results per paint / layout.