-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Store image futures in display list instead of images #43
Copy link
Copy link
Closed
Labels
A-content/imagesInteracting with images from web contentInteracting with images from web contentC-upstreamThe person attempting to resolve the issue requires further helpThe person attempting to resolve the issue requires further helpI-perf-slowUnnecessary performance degredation.Unnecessary performance degredation.
Description
At the moment, the display list builder requests images from the image decoder then stores them in the display list, causing all image decoding to be sequential. Instead, we should request the image, then store a future in the display list for the renderer to wait on later.
Need to rewrite core::future to be sendable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-content/imagesInteracting with images from web contentInteracting with images from web contentC-upstreamThe person attempting to resolve the issue requires further helpThe person attempting to resolve the issue requires further helpI-perf-slowUnnecessary performance degredation.Unnecessary performance degredation.