-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Impeller] Rasterizer::ScreenshotLayerTreeAsImage uses Skia rendering when running with Impeller. #135052
[Impeller] Rasterizer::ScreenshotLayerTreeAsImage uses Skia rendering when running with Impeller. #135052
Comments
How are you obtaining the screenshots? I noticed that if I use
|
This is using the |
Oh, maybe on iOS17 the cmd line tool for screenshots isn't working so we're falling back to the rasterizer screenshot? @christopherfujino does this sound right? |
Hmm, I'm actually surprised we got a screenshot at all, I thought this was completely broken per: #128598. Was this with a physical phone? cc @vashworth |
Yes! |
Ahh:
resident_runner L974 |
So we either need to fix Rasterizer::ScreenshotLayerTreeAsImage to use impeller correctly, or disable this functionality when using impeller entirely. Probably no action needed on tools side. |
) * This is completely broken on the Impeller renderer, see: #135052 * Even on the Skia renderer, this gives a software rasterized screenshot which will absolutely look different from a native rendering screenshot. I plan to remove this functionality from the engine.
…ter#135462) * This is completely broken on the Impeller renderer, see: flutter#135052 * Even on the Skia renderer, this gives a software rasterized screenshot which will absolutely look different from a native rendering screenshot. I plan to remove this functionality from the engine.
The "rasterizer screenshot" VM service API uses the Skia software backend, even when running with impeller. At best, this leads to confusing half working screenshots that are missing images. See flutter/flutter#135052 We should disable this functionality when running with impeller. Perhaps this could be reworked to use picture toImage instead of the offscreen so that it uses the "real" backend regardless of the platform it is running on. Fixes flutter/flutter#135052
Reverts #46171 Initiated by: jonahwilliams This change reverts the following previous change: Original Description: The "rasterizer screenshot" VM service API uses the Skia software backend, even when running with impeller. At best, this leads to confusing half working screenshots that are missing images. See flutter/flutter#135052 We should disable this functionality when running with impeller. Perhaps this could be reworked to use picture toImage instead of the offscreen so that it uses the "real" backend regardless of the platform it is running on. Fixes flutter/flutter#135052
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Only part of the screen seems to be captured on Wonderous. On iOS 17 the native screenshot tool is broken so we're falling back to rasterizer screenshots. These aren't setting up an aiks context, so its rendering skia but no images.
Expected:
Actual:
The text was updated successfully, but these errors were encountered: