diff options
| author | 2022-11-28 23:10:14 +0800 | |
|---|---|---|
| committer | 2022-11-29 15:11:06 +0800 | |
| commit | 7bdc13adf6723e23573435d35482dc72e76954dd (patch) | |
| tree | 3f0f23133b666143e84e9e8af564b1fa790402e4 /opengl/java | |
| parent | 5a31efbff4af7b34d9a29a681ebea08dd6ead189 (diff) | |
Reduce surface placement of sync group
1. setReady may be called multiples times from
WindowOrganizerController#startTransition and
DisplayContent#executeAppTransition. If the state is the same,
there is no need to request traversal.
2. When collecting a change if the group is not ready, the
visibility, config, lifecycle events and setReady=true will
trigger traversal as well.
Bug: 260059642
Test: atest SyncEngineTests
Test: Start next activity and finish current activity.
      The slice of trace "finishActivity" should not contain
      "performSurfacePlacement".
Change-Id: I8cc0c70bb8c2da504cc53379ea107c13d8bdd197
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions