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

Conversation

@bleroux
Copy link
Contributor

@bleroux bleroux commented Jun 7, 2022

Description

This PR updates Stopwatch::InitVisualizeSurface to invalidate the cache when the PerformanceOverlay is resized.

Android screenshots showing how the PerformanceOverlay is displayed when the device orientation has changed:

Before this PR
image

After this PR
image

Related Issue

Fixes flutter/flutter#54188

Tests

Adds 1 test.

@bleroux bleroux force-pushed the fix_performance_overlay_do_not_resize branch from 970cabb to c072d04 Compare June 7, 2022 14:45
@bleroux bleroux force-pushed the fix_performance_overlay_do_not_resize branch from c072d04 to 50eaea1 Compare June 7, 2022 16:02
@bleroux bleroux requested a review from dnfield June 7, 2022 16:54
@dnfield dnfield added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Jun 7, 2022
@fluttergithubbot fluttergithubbot merged commit 311d672 into flutter:main Jun 7, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 7, 2022
@bleroux bleroux deleted the fix_performance_overlay_do_not_resize branch June 17, 2022 09:42
houhuayong pushed a commit to houhuayong/engine that referenced this pull request Jun 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[macos] The performance overlay doesn't adapt to a changing window size

3 participants