dc4ecd943b95b9d0cd4952e161d5c95d1b25f2f5
When checking whether render buffer size has changed, apply the device scale factor used to convert points to pixels to ensure we're not needlessly re-allocating render buffer storage. Adds trace + debug log to make this easier to detect in future. Originally introduced in72c28f3a01, but rolled back ind539abd7c5to test whether it was responsible for regressions to flutter_gallery_ios__transition_perf benchmarks: * average_frame_build_time_millis * missed_frame_build_budget_count Re-landed in1a7ca91e39, and reverted in79b9bdbbf4after it appeared to regress the above two benchmarks. After recent changes to microtask execution order which fixed https://github.com/flutter/flutter/issues/9998, re-introducing this fix results in benchmark improvements to the above two benchmarks in local testing.
Description
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%