Orson Peters
|
bb93d243a0
|
Optimize colorspace conversion (#1228)
* Enabled cross-crate inlining for release builds.
* Sprinkled inline-enabling directives in color.rs.
* Reduced abstraction in color channel handling for better inlining.
* Alpha should not use gamma.
* Oops, didn't compile.
* Added discrete sRGB <-> linear float conversion.
* Use new float <-> sRGB conversion.
* Improved comments.
* Don't convert fully transparent pixels.
|
2023-05-25 10:51:40 +02:00 |
|