summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Matt Buckley <mattbuckley@google.com> 2022-06-07 21:46:20 +0000
committer Matt Buckley <mattbuckley@google.com> 2022-06-15 20:23:17 +0000
commit16dec1f6fb5fff413a0bfe008969ed84a7101528 (patch)
treefeed728c09e69a5358db838f8733580204ebb942 /libs/gui/ConsumerBase.cpp
parenta09e67800bf217ac4cc5b4f69474ac0421496e9a (diff)
Rename hwc-specific methods and properties for readability
In hint session timing code, "present" is used to refer to: 1) The CompositionEngine present method called in SF 2) The present method in Output called separately per-display 3) The present call made to the actual vendor HWC 4) The place where the frame actually starts to display on the screen eg: expectedPresentTime The distinctions is important in a timing context because they behave differently and happen at different points in the frame, but they are currently referred to interchangeably. This patch aims to remove some of that ambiguity by prefixing hwc-specific methods + properties with "hwc" as well as making fence naming more specific. Bug: b/195990840 Test: atest libsurfaceflinger_unittest:libsurfaceflinger_unittest.AidlPowerHalWrapperTest Change-Id: I138e197431a5f1af05031e1180483433009c333d
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions