summaryrefslogtreecommitdiff
path: root/libs/ui/GraphicBuffer.cpp
diff options
context:
space:
mode:
author YCairn Overturf <cairno@google.com> 2025-02-27 22:55:01 +0000
committer YCairn Overturf <cairno@google.com> 2025-03-11 16:04:25 +0000
commit91282082ed89e68e510c10bf8cb56108d46454af (patch)
treeb70b5f5858398a0a7e4ca60bcee150c733513c6a /libs/ui/GraphicBuffer.cpp
parent4a902602e9a8c8ab7c4a054f60676f5b38afd1ea (diff)
Force snapshot update when requested transform changes from invalid to valid
An early out in snapshot builder prevents parent properties from being propagated to children when the parent is hidden (e.g. due to invalid transform). So we need to force update children snapshots when the parent becomes visible (i.e. transform becomes valid). I tested removing the early out but the added benchmark takes 2us longer. Bug: 319757092 Flag: EXEMPT bug fix Test: atest libsurfaceflinger_unittests Change-Id: I9c9a996bbc3de4e7f8cbfc947a99cdccae5090b9
Diffstat (limited to 'libs/ui/GraphicBuffer.cpp')
0 files changed, 0 insertions, 0 deletions