1
0
Fork 0
android_external_drm_hwcomp.../stats
Drew Davenport 98360f9e0c drm_hwcomposer: Add CompositionStats
CompositionStats struct is a copy of HwcDisplay::Stats and is extracted
from HwcDisplay as a prestep for supporting stats reporting beyond
dumpsys.

CompositionStatsProvider interface can be implemented by a class that
will poll all displays and return a display->CompositionStats map for
the cumulative stats for each display.

CompositionStatsTracker is a helper class that tracks the state of the
last queried stats and calculates the delta between the last stats and
the currently pulled stats. A Callback function can be passed into the
Report function which will be called for each display, with the
cumulative and delta stats as arguments.

Change-Id: I4200df5b41a4dbc612160aec038c83336b68bc4b
Signed-off-by: Drew Davenport <ddavenport@google.com>
2025-04-29 14:12:59 -06:00
..
CompositionStats.cpp drm_hwcomposer: Add CompositionStats 2025-04-29 14:12:59 -06:00
CompositionStats.h drm_hwcomposer: Add CompositionStats 2025-04-29 14:12:59 -06:00
CompositionStatsTest.cpp drm_hwcomposer: Add CompositionStats 2025-04-29 14:12:59 -06:00