summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Dominik Laskowski <domlaskowski@google.com> 2022-08-26 09:06:59 -0700
committer Dominik Laskowski <domlaskowski@google.com> 2022-09-08 08:48:21 -0700
commitf8734e014d3a5596be2edc6ee85dbda7589bb889 (patch)
treefd30cadac81cfd364477ef0c9247fc8ea7b32dbf /services/surfaceflinger/RegionSamplingThread.cpp
parentf2595446af5d9bf2ca4b2e5bf07dfbbd842e61ec (diff)
SF: Enforce thread safety of active mode access
Provide two RefreshRateConfigs APIs for retrieving the active mode: getActiveMode for access from the main thread (which does not need to lock nor copy), and getActiveModePtr for other threads. Bug: 241285191 Test: Build (-Wthread-safety) Change-Id: If156d85861ec2d82a394ba181314a6ba3048974f
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions