summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventDispatcher.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2021-06-11 16:10:45 -0700
committer Robert Carr <racarr@google.com> 2021-10-08 11:48:12 -0700
commitcbdb79a195e6c690e16948a7e7c3abbd36414b17 (patch)
tree8581393599c44607b26070f85c48a84c7d10ddb7 /libs/gui/DisplayEventDispatcher.cpp
parent9666ac5932806ba3dc1350f984818669414535e4 (diff)
Layer: Use raw pointers for Current/Drawing parent
We should only be reading/writing this from the main thread and likewise we only delete layers on the main thread and so using raw pointers and managing the lifetime from the Layer destructor will be safe. This significantly decreases overhead in various code that traverses via parent (getAlpha, isVisible, etc...). Test: Existing tests pass. simpleperf Bug: 186200583 Change-Id: I45745f7c865177ddfe9105d1440a9fa8f3470823
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions