aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/canvasrenderingcontext2d.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implemented paint worklet rendering context.Alan Jeffrey2017-06-301-17/+40
|
* Untry scriptSimon Sapin2017-06-181-3/+3
|
* Update WR (CPU text optimizations, image format renames).Glenn Watson2017-06-161-1/+1
|
* Bump euclid to 0.14.Nicolas Silva2017-06-141-13/+10
|
* Thread ParseError return values through CSS parsing.Josh Matthews2017-06-091-3/+5
|
* Use the origin of the actual image response when determining if a canvas is ↵SendilKumar N2017-05-191-13/+8
| | | | origin clean.
* Remove IndexSizeError in CanvasRenderingContext2D::drawImagen0max2017-04-291-2/+2
|
* Make image cache per-document rather than globalFernando Jiménez Moreno2017-03-271-1/+1
|
* Make ImageData::new return Fallible instead of panicLucjan Suski2017-03-201-6/+6
|
* removed instances of -> () in existing codelucantrop2017-03-131-1/+1
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Make script thread initiate requests for images needed by layout.Josh Matthews2017-02-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* style: Unbox a bunch of color properties.Emilio Cobos Álvarez2017-02-141-18/+8
| | | | This builds on https://github.com/servo/rust-cssparser/pull/118.
* Error handled canvas closingPrudhvi Rampey2016-12-281-1/+3
|
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-1/+1
| | | | Fixes https://github.com/servo/servo/issues/8473.
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-2/+2
|
* Remove old rendering backend.Glenn Watson2016-10-181-10/+2
| | | | | | | | | | | | | | 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.
* Remove intrinsic Root::r()Anthony Ramine2016-10-111-11/+8
|
* Rename Reflectable::global_scope to globalAnthony Ramine2016-10-061-6/+6
|
* Make CanvasRenderingContext2d::new take a &GlobalScopeAnthony Ramine2016-10-061-5/+5
|
* Introduce Reflectable::global_scopeAnthony Ramine2016-10-061-6/+6
|
* Introduce GlobalScope::constellation_chanAnthony Ramine2016-10-061-1/+1
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-7/+7
|
* More code refactoring (exampleVar to example_var)Arthur Marble2016-09-181-6/+6
|
* Reorder `use` statementsUK9922016-09-091-3/+3
|
* Don't bother with the global in ImageData::get_image_dataAnthony Ramine2016-08-301-1/+1
|
* Fix canvas image tests when using webrender.Glenn Watson2016-08-301-2/+10
| | | | | | When webrender is enabled, image decoding doesn't pre-multiply by alpha, but the canvas code expects the image data to be pre-multiplied form.
* Update euclid to 0.10.1Anthony Ramine2016-08-211-17/+10
|
* Move util::vec::byte_swap to canvas_traitsAnthony Ramine2016-07-041-3/+3
|
* Make canvas send their data themselves to other canvasAnthony Ramine2016-06-161-22/+15
|
* Remove JS::from_rootedAnthony Ramine2016-05-311-2/+2
|
* Remove empty lines following braces.Josh Matthews2016-05-271-1/+0
|
* Move DOMString back to scriptAnthony Ramine2016-05-241-1/+1
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Remove ConstellationChan.Ms2ger2016-05-191-1/+1
| | | | | | It's a pointless abstraction that propagates the obsolete chan terminology, swaps the order in which the sender and receiver are returned, and hides a source of panics.
* Removed unused importsPer Lundberg2016-05-151-1/+1
| | | | This fixes #11185.
* Setting current color to black if canvas is not rendered in documentDavid Raifaizen2016-04-221-1/+19
|
* Use num-traits in script.Ms2ger2016-04-201-1/+1
|
* replace Fallible<()> with ErrorResultDi Xu2016-04-131-9/+9
|
* Stop sending the renderer id to script.Ms2ger2016-03-211-1/+1
|
* Remove renderer_id fields.Ms2ger2016-03-211-3/+1
|
* Remove get_renderer_id functions.Ms2ger2016-03-211-9/+0
|
* Update some canvas properties as enums instead of DOMStringSaurav Sachidanand2016-02-191-22/+28
|
* Fix #9508: Beautify our union enums constructorsAlexander Lopatin2016-02-071-21/+21
|
* adding image metadata notification capabilities to image cachejmr02016-01-291-1/+1
|
* Remove unused imports in scriptKishor Bhat2016-01-171-1/+0
|
* Add global default method for Reflectable traitChad Kimes2016-01-111-9/+9
|
* Remove global field from CanvasRenderingContext2DChad Kimes2016-01-101-10/+8
|
* task -> threadrohan.prinja2016-01-101-3/+3
|
* Auto merge of #9123 - karyon:clippy_cleanup, r=Manishearthbors-servo2016-01-031-4/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bunch of clippy lints This fixes about 130 clippy lints. Let me know if i should split up the commit. I wasn't sure about some of the changes, especially map_or instead of map(...).unwrap_or(...) and if let instead of single arm match were not always a strict improvement in my opinion, but i'll leave that decision to the reviewer :) There are about 150 lints left which i thought were clippy bugs or i didn't know how to fix. cc @Manishearth <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9123) <!-- Reviewable:end -->
| * Fix a bunch of clippy lintsJohannes Linke2016-01-021-4/+2
| |