hwc: mdpcomp: one full screen update in screen refresh
When screen refresh is triggered, make sure at least one
full screen update when partial update is enabled.
Screen refresh is requested after post processing has been
sent to kernel, full screen update is needed so that the
pp setting applies to the whole screen.
Change-Id: I7885c451a313666c1fcef8c3d55cb86b8479de1c
diff --git a/msm8994/libhwcomposer/hwc_qclient.cpp b/msm8994/libhwcomposer/hwc_qclient.cpp
index 1c7c4dc..c2c09c6 100644
--- a/msm8994/libhwcomposer/hwc_qclient.cpp
+++ b/msm8994/libhwcomposer/hwc_qclient.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-14, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-15, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -373,6 +373,7 @@
unsecuring(mHwcContext, inParcel->readInt32());
break;
case IQService::SCREEN_REFRESH:
+ qhwc::MDPComp::setSingleFullScreenUpdate();
return screenRefresh(mHwcContext);
break;
case IQService::EXTERNAL_ORIENTATION: