Omar Emara
1f49db485c
Revert Metal check
2024-03-22 16:44:42 +02:00
Omar Emara
4b021ab01e
Only add compressed buffer if suitable
2024-03-22 13:10:29 +02:00
Omar Emara
ef29bdabab
Merge branch 'main' into unify-compositor-srgb-linear
2024-03-22 12:44:10 +02:00
Omar Emara
15e3771ee6
Address comments
2024-03-15 10:41:42 +02:00
Omar Emara
913fef06d6
Address review
buildbot/vexp-code-patch-darwin-x86_64 Build done.
Details
buildbot/vexp-code-patch-linux-x86_64 Build done.
Details
buildbot/vexp-code-patch-lint Build done.
Details
buildbot/vexp-code-patch-windows-amd64 Build done.
Details
buildbot/vexp-code-patch-darwin-arm64 Build done.
Details
buildbot/vexp-code-patch-coordinator Build done.
Details
2024-03-14 11:42:19 +02:00
Omar Emara
c854e2ecf9
Merge branch 'main' into unify-compositor-srgb-linear
2024-03-14 11:10:12 +02:00
Omar Emara
406a6dd330
Correct function interface
2024-03-08 15:35:45 +02:00
Omar Emara
dab1b7af02
Document function
2024-03-08 15:34:12 +02:00
Omar Emara
ca01c01c05
Perform conversion in a shallow copy
2024-03-08 15:32:27 +02:00
Omar Emara
28fc151faa
Merge branch 'main' into unify-compositor-srgb-linear
2024-03-08 08:53:25 +02:00
Omar Emara
7f97cbe24d
Merge branch 'main' into unify-compositor-srgb-linear
2024-02-23 20:47:36 +02:00
Omar Emara
687946c8a9
Remove alpha pre-multiplication
2024-02-23 11:35:28 +02:00
Omar Emara
3b32e96fa9
Compositor: Unify sRGB to Linear between CPU and GPU
...
This patch unifies the sRGB to Linear color space conversion between the
CPU and GPU compositors. This is because CPU uses an optimized path that
produce values that are very slightly off. To fix this, for the GPU, we
do the conversion CPU side instead of doing it in a shader. Since images
are cached, the performance implications are not significant.
Another added benefit is that we no longer get differences due to the
order of alpha pre-multiplication and sRGB conversion.
2024-02-22 16:46:17 +02:00