-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] Made toByteData work on wide gamut images (always downscaling to sRGB). #39932
Conversation
e860873 to
88ed94b
Compare
|
|
||
| } // namespace | ||
|
|
||
| void ImageEncodingImpeller::ConvertDlImageToSkImage( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made this public for easier testing. With a little bit of work I could make the tests work on the existing public api. There is just a bit of threading work required to do that.
ci/licenses_golden/licenses_flutter
Outdated
| ORIGIN: ../../../flutter/impeller/renderer/gpu_tracer.h + ../../../flutter/LICENSE | ||
| ORIGIN: ../../../flutter/impeller/renderer/host_buffer.cc + ../../../flutter/LICENSE | ||
| ORIGIN: ../../../flutter/impeller/renderer/host_buffer.h + ../../../flutter/LICENSE | ||
| ORIGIN: ../../../flutter/impeller/renderer/mocks.h + ../../../flutter/LICENSE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe this belongs in the excluded one instead? I think we're doing that with at least some test-only files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a pointer to an example? I can ask Hixie.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved it over, I think this makes sense
|
auto label is removed for flutter/engine, pr: 39932, due to - The status or check suite Linux License has failed. Please fix the issues identified (or deflake) before re-applying this label. |
…s downscaling to sRGB). (flutter/engine#39932)
…s downscaling to sRGB). (flutter/engine#39932)
…s downscaling to sRGB). (flutter/engine#39932)
…s downscaling to sRGB). (flutter/engine#39932)
…s downscaling to sRGB). (flutter/engine#39932)
…s downscaling to sRGB). (flutter/engine#39932)
…s downscaling to sRGB). (flutter/engine#39932)
…ing to sRGB). (flutter#39932) [Impeller] Made toByteData work on wide gamut images (always downscaling to sRGB).
|
I am getting this error: |
Could be. There was no intentional breaking change. Can you file an issue please with reproduction code? Bonus points if the reproduction code uses the |
|
Also just tried using ColorSheme.fromImageProvider(), announced in the What's new in Flutter, does not work with wide color gamut enabled, so a simple code like this: Should give the error, I don't have the time right now to create the issue, but should be easy to reproduce just using ColorSheme.fromImageProvider() |
|
NVM, looks like the problem is with the Screenshot package with Wide gamut enabled |
fixes flutter/flutter#121563
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.