summaryrefslogtreecommitdiff
path: root/libqservice
diff options
context:
space:
mode:
authorJeykumar Sankaran <jsanka@codeaurora.org>2015-03-11 14:13:43 -0700
committerKrishna Chaitanya Parimi <cparimi@codeaurora.org>2015-03-11 15:43:44 -0700
commit14d41a86b229c3fdf1e7acc6c504540e3b948e42 (patch)
tree0383affb01c016d6260c57635d2df0091a6d56cf /libqservice
parent51c08146fd7e43944a06ac1e99a35e3b883881bd (diff)
downloaddisplay-14d41a86b229c3fdf1e7acc6c504540e3b948e42.tar.gz
libqservice: Defer enabling partial update PP turns off
When client prefer to enable PU(partial update) over PP(post processing), delay enabling PU until PP turns off its features completely. This change introduces hand shaking flags between PP and HWC through binder calls. When requested to turn on PU, we notify PP through the sys_fs node. When PP is done shutting off it features, it acknowledges back to HWC to actually turn on PU. Change-Id: I72008f2313b93497f55c0435367ef62cd772c2c4
Diffstat (limited to 'libqservice')
-rw-r--r--libqservice/IQService.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libqservice/IQService.h b/libqservice/IQService.h
index 78cbd2ae..c77f5f5e 100644
--- a/libqservice/IQService.h
+++ b/libqservice/IQService.h
@@ -82,6 +82,12 @@ public:
};
enum {
+ PREF_PARTIAL_UPDATE,
+ PREF_POST_PROCESSING,
+ ENABLE_PARTIAL_UPDATE,
+ };
+
+ enum {
DUMP_PRIMARY_DISPLAY,
DUMP_HDMI_DISPLAY,
DUMP_VIRTUAL_DISPLAY,