display: Add hook for triggering screen update
DSI command mode panels do not need to be refreshed on each
vsync. Due to one frame latency in CABL LUT calculation, when CABL is
enabled for DSI command mode panels, the LUT doesnt get updated for last
frame. Triggering an extra update for DSI command mode panels fixes it.
Change-Id: I7a22e338609430746dda4d3081ff199109a95035
diff --git a/libhwcomposer/hwc_qclient.h b/libhwcomposer/hwc_qclient.h
index 0ee6de1..9cb2680 100644
--- a/libhwcomposer/hwc_qclient.h
+++ b/libhwcomposer/hwc_qclient.h
@@ -46,7 +46,7 @@
public:
QClient(hwc_context_t *ctx);
virtual ~QClient();
- virtual void notifyCallback(uint32_t msg, uint32_t value);
+ virtual android::status_t notifyCallback(uint32_t msg, uint32_t value);
private:
//Notifies of Media Player death
@@ -59,6 +59,7 @@
void securing(uint32_t startEnd);
void unsecuring(uint32_t startEnd);
+ android::status_t screenRefresh();
hwc_context_t *mHwcContext;
const android::sp<android::IMediaDeathNotifier> mMPDeathNotifier;