Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Use the rasterizer's compositor context and texture registry to capture screenshots#5180

Merged
jason-simmons merged 1 commit intoflutter:masterfrom
jason-simmons:bug_16412
May 4, 2018
Merged

Use the rasterizer's compositor context and texture registry to capture screenshots#5180
jason-simmons merged 1 commit intoflutter:masterfrom
jason-simmons:bug_16412

Conversation

@jason-simmons
Copy link
Member

@jason-simmons
Copy link
Member Author

@chinmaygarde

@jason-simmons jason-simmons merged commit 02bc578 into flutter:master May 4, 2018
@tvolkert
Copy link
Contributor

tvolkert commented May 9, 2018

This has been identified as causing a regression in screenshotting that is currently blocking Flutter dev releases. Here's a snippet from the Flutter gallery:

regression

@jason-simmons
Copy link
Member Author

I suspect this is happening because the main compositor context's raster cache is now being used to render screenshots.

Using the same raster cache that is used to render to the display will yield screenshots that more accurately reflect the display, but at the risk of fuzzier output.

@tvolkert
Copy link
Contributor

tvolkert commented May 9, 2018

Tracking in flutter/flutter#17448

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants