aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/net/image_cache_task.rs
Commit message (Collapse)AuthorAgeFilesLines
* Refactored image cache task - details below.Glenn Watson2015-04-231-574/+0
| | | | | | | | | | | | | | | | | | | | * Simpler image cache API for clients to use. * Significantly fewer threads. * One thread for image cache task (multiplexes commands, decoder threads and async resource requests). * 4 threads for decoder worker tasks. * Removed ReflowEvent hacks in script and layout tasks. * Image elements pass a Trusted<T> to image cache, which is used to dirty nodes via script task. Previous use of Untrusted addresses was unsafe. * Image requests such as background-image on layout / paint threads trigger repaint only rather than full reflow. * Add reflow batching for when multiple images load quickly. * Reduces the number of paints loading wikipedia from ~95 to ~35. * Reasonably simple to add proper prefetch support in a follow up PR. * Async loaded images always construct Image fragments now, instead of generic. * Image fragments support the image not being present. * Simpler implementation of synchronous image loading for reftests. * Removed image holder. * image.onload support. * image NaturalWidth and NaturalHeight support. * Updated WPT expectations.
* Replace usage of ResponseSenders by LoadConsumerMarcus Klaas2015-04-191-4/+4
|
* Fix compiler warnings in net unit testsMarcus Klaas2015-04-171-23/+23
|
* Completely abstract sending responses over channels vs. listeners.Josh Matthews2015-04-161-8/+8
|
* Start switching net/ to use abstractions over channels to allow introducing ↵Josh Matthews2015-04-161-7/+7
| | | | non-channel communication in the future.
* Update dependency for image_cache_task.rs unit tests.Aneesh Agrawal2015-04-101-1/+1
|
* Use the correct license header.Simon Sapin2015-04-081-8/+3
|
* Add license headers in tests/unitSimon Sapin2015-04-081-0/+9
|
* Move net::{data_loader,image_cache_task} unit tests into the unit_tests crate.Simon Sapin2015-04-081-0/+570