Update pixels::unmultiply_inplace to support RB swap and use it in canvas_state (#35313)

* update unmultiply_inplace to handle reversed RGB

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>

* Reuse unmultiply_inplace instead of manual compute; remove unused

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>

---------

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
Euclid Ye 2025-02-06 13:02:49 +08:00 committed by GitHub
parent cb7688314b
commit 0de6d1bc3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 13 additions and 4116 deletions

View file

@ -67,7 +67,6 @@ pub mod test;
#[allow(dead_code)]
pub mod textinput;
mod timers;
mod unpremultiplytable;
mod webdriver_handlers;
mod window_named_properties;