mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
82cd793ee5
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 in2d530daeca, but rolled back in0a6e415b60to 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 ind43d353475, and reverted in459f722b86after 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.