Repository navigation
fix: Make disable_color_correct_rendering patch work again - #35050
Merged
Merged
Conversation
nornagon
approved these changes
Jul 25, 2022
codebytere
approved these changes
Jul 26, 2022
zcbenz
approved these changes
Jul 26, 2022
|
No Release Notes |
Contributor
|
I was unable to backport this PR to "18-x-y" cleanly; |
Contributor
|
I was unable to backport this PR to "19-x-y" cleanly; |
Contributor
|
I was unable to backport this PR to "20-x-y" cleanly; |
Contributor
|
@devinfoley has manually backported this PR to "19-x-y", please check out #35079 |
Contributor
|
@devinfoley has manually backported this PR to "18-x-y", please check out #35088 |
Contributor
|
@devinfoley has manually backported this PR to "20-x-y", please check out #35087 |
2 of 5 tasks
schetle
pushed a commit
to schetle/electron
that referenced
this pull request
Nov 3, 2022
…35050) Fix disable_color_correct_rendering patch.
khalwa
pushed a commit
to solarwindscloud/electron
that referenced
this pull request
Feb 22, 2023
…35050) Fix disable_color_correct_rendering patch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #34592
In Chromium 100, this change made it so that color space was read from
ColorTargetParamsversus being passed into functions directly. This made the flag stop working in CSS and IMG. With this PR, color space will be added toColorTargetParamsbefore returning.In Chromium 103 (or earlier), this change integrated
TargetColorParamsin a few more places. There's no preset for "Unmanaged", so the flag stopped working in GL canvases. With this PR, we'll detect if the flag is enabled, and if so, returngfx::ColorSpace()to use an unmanaged color space.Checklist
npm testpassesRelease Notes
Notes: none