aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/image_cache_thread.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make image cache per-document rather than globalFernando Jiménez Moreno2017-03-271-645/+0
|
* Premultiply RGBA image data before sending to webrenderJamie Nicol2017-03-101-0/+18
|
* Update WR (image tiling, inset box shadow fixes, new key api).Glenn Watson2017-02-271-2/+8
|
* Add useful debug information to image cache.Josh Matthews2017-02-221-10/+25
|
* Send response for image requests progressively to image cache.Josh Matthews2017-02-221-18/+6
|
* Synchronously decode images if decoded bytes are requested after the full ↵Josh Matthews2017-02-221-55/+107
| | | | response is received.
* Avoid dropping image requests on the ground from non-script-initiated reflow.Josh Matthews2017-02-221-15/+27
|
* Make script thread initiate requests for images needed by layout.Josh Matthews2017-02-221-161/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update WR (radial gradients, subpixel positioning, tiling changes).Glenn Watson2017-02-011-10/+36
|
* Fix/silence some warningsSimon Sapin2016-12-201-1/+1
|
* Auto merge of #14586 - deror1869107:Remove-ResponseAction, r=jdmbors-servo2016-12-141-29/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove-ResponseAction <!-- Please describe your changes on the following line: --> Remove the old Enum ResponseAction and use net_traits::FetchResponseMsg instead. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #13717 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because @KiChjang said so. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14586) <!-- Reviewable:end -->
| * Remove-ResponseActionderor18691072016-12-151-29/+9
| | | | | | | | Remove redundant code
* | Removed util.Alan Jeffrey2016-12-141-4/+4
|/
* update depsGregory2016-11-221-2/+4
| | | | | | | | | | switch to using webrender_traits::ImageData update use of webrender_traits::StackingContext in layout use webrender_traits::channel::msg_channel in webgl ipc fix use of resource_override_path in components/servo/lib
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-21/+21
|
* Update WR - stride support, remove deprecated / unused shaders.Glenn Watson2016-11-091-2/+10
|
* Move ResponseAction to the image cache.Ms2ger2016-11-021-1/+10
|
* Use fetch_async in the image cache.Ms2ger2016-11-021-28/+30
|
* Remove old rendering backend.Glenn Watson2016-10-181-20/+17
| | | | | | | | | | | | | | This removes paint threads, rust-layers dependency, and changes optional webrender types to be required. The use_webrender option has been removed, however I've left the "-w" command line option in place so that wpt runner can continue to pass that. Once it's removed from there we can also remove the -w option. Once this stage is complete, it should be fine to change the display list building code to generate webrender display lists directly and avoid the conversion step.
* Reorder `use` statementsUK9922016-09-091-6/+6
|
* Use Result instead of panicking when the resource dir can't be foundManish Goregaokar2016-07-211-19/+17
|
* Integrate service worker manager threadRahul Sharma2016-07-161-4/+1
|
* Remove unnecessary uses of unwrap in ImageCache::handle_cmdAndre Silva2016-07-021-2/+2
|
* adding interface for custom responsesRahul Sharma2016-05-201-3/+23
|
* Implement trait-based ResourceThreads and clean up related naming issuesZhen Zhang2016-05-201-8/+8
| | | | | | | | | | Changes include: - Introduce an IpcSend trait to abstract over a collection of IpcSenders - Implement ResourceThreads collection to abstract the resource-related sub threads across the component - Rename original ResourceThread and ControlMsg into an unifed CoreResource__ to accommodate above changes and avoid confusions
* Added Store Command to ImageCache TaskSagar Muchhal2016-04-261-0/+20
|
* Add referrer policy pass-through and referrer header logicRebecca2016-04-251-1/+1
| | | | | | | add pass-through from doc to http-loader for referrer_policy, ref_URL add logic for setting referer header add script pass-through for referrer add unit tests for setting referer header
* Propagating the load errors from network loaderRavi Shankar2016-04-201-2/+2
|
* Use external 'threadpool' crate, remove in-tree utility.Corey Farwell2016-03-181-1/+1
|
* Disallow unsafe code in net and net_traits.Ms2ger2016-03-181-14/+34
|
* Bonus fix: Rewrite get_image_or_meta_if_available in an imperative style.Ms2ger2016-03-071-6/+11
| | | | I believe this is more readable.
* Move the receivers out of the ImageCache struct.Ms2ger2016-03-071-26/+10
|
* Inline ImageCache::do_run.Ms2ger2016-03-071-11/+7
|
* Use the select! macro in ImageCacheThread.Ms2ger2016-03-071-21/+15
|
* Move the ImageCacheThread's closure into a function.Ms2ger2016-03-071-42/+47
|
* Add WebRender integration to Servo.Glenn Watson2016-02-181-8/+55
| | | | | | | | WebRender is an experimental GPU accelerated rendering backend for Servo. The WebRender backend can be specified by running Servo with the -w option (otherwise the default rendering backend will be used). WebRender has many bugs, and missing features - but it is usable to browse most websites - please report any WebRender specific rendering bugs you encounter!
* adding image metadata notification capabilities to image cachejmr02016-01-291-28/+86
|
* task -> threadrohan.prinja2016-01-101-0/+494