aboutsummaryrefslogtreecommitdiffstats
path: root/components/pixels/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Optimized unmultiply_inplace to remove fp ops (#33582)Shalvin2024-09-301-4/+14
| | | Signed-off-by: Shalvin Deo <shalvin.deo@live.com>
* Move unmultiply_inplace to pixels crate (#33553)Taym Haddadi2024-09-271-0/+9
| | | Signed-off-by: Taym <haddadi.taym@gmail.com>
* compositor: Move WebRender-ish messages and types to `webrender_traits` (#32315)Mukilan Thiyagarajan2024-05-201-0/+150
| | | | | | | | | | | | | | | | | | | | * Move WebRender related types to `webrender_traits` This refactor moves several WebRender related types from `compositing_traits`, `script_traits` and `net_traits` crates to the `webrender_traits` crate. This change also moves the `Image` type and associated function out of `net_traits` and into the `pixels` crate. Co-authored-by: Martin Robinson <mrobinson@igalia.com> Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Move `script_traits::WebrenderIpcSender` to `webrender_traits::WebRenderScriptApi` --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* clippy: fix warnings in various modules in components (#31568)eri2024-03-081-4/+2
| | | | | | | | | * clippy: fix warnings in various modules in components * fix: unit tests * fix: build on android * fix: all samplers use new_boxed
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-1/+2
| | | | | * strict imports formatting * Reformat all imports
* remove `extern crate` (#30311)Samson2023-09-081-3/+1
| | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Addresses issues raised in #24465; removes redundancy in set_bitmap_dimensionsBailey Blankenship2019-11-101-7/+8
| | | | Removed passing test .ini files and moved euclid extensions to euclidext.rs to factor out redundant code
* Update euclid.Emilio Cobos Álvarez2019-07-231-1/+1
| | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
* Call rgba8_byte_swap_colors_inplace on the WebGL threadAnthony Ramine2018-11-201-0/+2
|
* Move PixelFormat to the pixels crateAnthony Ramine2018-11-201-0/+16
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Prefix some pixels functions with rgba8_Anthony Ramine2018-11-161-4/+4
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-2/+0
|
* Format remaining filesPyfisch2018-11-061-1/+4
|
* Share some code between 2D canvas and WebGLAnthony Ramine2018-10-091-1/+19
|
* Handle some transparent black cases in ctx.getImageDataAnthony Ramine2018-10-071-0/+25
|
* Merge some byte swap/premultiply functions in their own crateAnthony Ramine2018-10-061-0/+40