If relayout calculates a new configuration, cancel draw
Previously, we were only doing this for buffer sync; however, this actually applies to all relayouts now that we use seqId for all updates. While the always-seq-id prevented us from presenting the out-dated content (which would be a flicker), this CL also prevents us from wasting time drawing the content altogether. Bug: 435801229 Bug: 385976595 Test: run perf comparison Flag: com.android.window.flags.always_seq_id_layout Change-Id: I5d92120462a8457f9227ae31d4b078590a59f386
Loading
Please register or sign in to comment