aboutsummaryrefslogtreecommitdiffstats
path: root/components/net_traits/image_cache_thread.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make image cache per-document rather than globalFernando Jiménez Moreno2017-03-271-169/+0
|
* Send response for image requests progressively to image cache.Josh Matthews2017-02-221-4/+5
|
* Avoid dropping image requests on the ground from non-script-initiated reflow.Josh Matthews2017-02-221-3/+19
|
* Make script thread initiate requests for images needed by layout.Josh Matthews2017-02-221-63/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In support of this goal, the layout thread collects information about CSS images that are missing image data and hands it off to the script thread after layout completes. The script thread stores a list of nodes that will need to be reflowed after the associated network request is complete. The script thread ensures that the nodes are not GCed while a request is ongoing, which the layout thread is incapable of guaranteeing. The image cache's API has also been redesigned in support of this work. No network requests are made by the new image cache, since it does not possess the document-specific information necessary to initiate them. Instead, there is now a single, synchronous query operation that optionally reserves a slot when a cache entry for a URL cannot be found. This reserved slot is then the responsibility of the queryer to populate with the contents of the network response for the URL once it is complete. Any subsequent queries for the same URL will be informed that the response is pending until that occurs. The changes to layout also remove the synchronous image loading code path, which means that reftests now test the same code that non-test binaries execute. The decision to take a screenshot now considers whether there are any outstanding image requests for layout in order to avoid intermittent failures in reftests that use CSS images.
* Rustfmt net_traits.Ms2ger2017-01-031-11/+7
|
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-12/+14
|
* Move Image and PixelFormat to net_traits.Ms2ger2016-10-211-2/+1
|
* Remove unnecessary 'unwrap' calls from ImageCacheThreadKuba Birecki2016-07-131-9/+9
|
* Remove empty lines following braces.Josh Matthews2016-05-271-1/+0
|
* move struct ImageMetadata to a better placeKosov Eugene2016-05-091-1/+2
|
* Added Store Command to ImageCache TaskSagar Muchhal2016-04-261-1/+12
|
* gfx: Allow images to be shipped to the WebRender thread without shippingPatrick Walton2016-03-221-1/+1
| | | | | | | | | over the data as well. WebRender doesn't need the data, as it acquires it separately. About a 50%-100% improvement in display list building time on browser.html.
* Say farewell to in-tree HeapSizeOfAnthony Ramine2016-02-041-1/+0
|
* adding image metadata notification capabilities to image cachejmr02016-01-291-4/+43
|
* task -> threadrohan.prinja2016-01-101-0/+129