summaryrefslogtreecommitdiff
path: root/libqservice
diff options
context:
space:
mode:
authorKevin DuBois <kevindubois@google.com>2018-09-12 11:24:26 -0700
committerKevin DuBois <kevindubois@google.com>2018-09-26 17:20:51 -0700
commit5a7b3868b60e18edfb84e3fdc3a2a6b3ce96b0ab (patch)
treec509d7b7c531f3138cc24969001805526ed22b1e /libqservice
parent4c30737150f7fb7b6dd529fd720b8779efbb5596 (diff)
downloaddisplay-5a7b3868b60e18edfb84e3fdc3a2a6b3ce96b0ab.tar.gz
composer: add color sampling to dumpsys
Add a thread that monitors the DRM control nodef for color sampling events. Report this via dumpsys. This will be used to also provide additonal context for display management in the framework. Bug: 112756444 Test: boot, see dumpsys, no corruption. Test: ./color_sampling_tool see statistics. Test: pts-tradefed run pts -m PtsComposerTestCases Test: adb shell vndservice call display.qservice 39 i32 1 i32 {1,0} Change-Id: Ia0f02390ebeadab04c8cd81219d07112bd69c2f0
Diffstat (limited to 'libqservice')
-rw-r--r--libqservice/IQService.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libqservice/IQService.h b/libqservice/IQService.h
index 7d02fac9..07a9a644 100644
--- a/libqservice/IQService.h
+++ b/libqservice/IQService.h
@@ -78,6 +78,7 @@ public:
SET_COLOR_MODE_BY_ID = 36, // Overrides the QDCM mode using the given mode ID
GET_COMPOSER_STATUS = 37, // Get composer init status-true if primary display init is done
SET_COLOR_MODE_WITH_RENDER_INTENT = 38,
+ SET_COLOR_SAMPLING_ENABLED = 39, // Toggle the collection of display color stats
COMMAND_LIST_END = 400,
};