hwc: add qdcm service to be loaded in HWC and perform service
1. Add one binder command to display.qservice to serve the
binder requests received from SDK.
2. Each subcommand will be corresponding to one command
handler. Command handler will pass the requests to
qdcm library.
3. Dynamically load qdcm library, where all apis are
implemented.
4. apply default mode function will be invoked once
bootanimation event is detected
Change-Id: I28fdf5f2561fcaffbfd3b7a1e9b136a4c372300e
diff --git a/libhwcomposer/hwc.cpp b/libhwcomposer/hwc.cpp
index 85e5d1b..6acb663 100644
--- a/libhwcomposer/hwc.cpp
+++ b/libhwcomposer/hwc.cpp
@@ -39,9 +39,11 @@
#include "hwc_ad.h"
#include "profiler.h"
#include "hwc_virtual.h"
+#include "hwc_qdcm.h"
using namespace qhwc;
using namespace overlay;
+using namespace qQdcm;
#define VSYNC_DEBUG 0
#define POWER_MODE_DEBUG 1
@@ -278,6 +280,7 @@
hwc_context_t* ctx = (hwc_context_t*)(dev);
const int dpy = HWC_DISPLAY_PRIMARY;
bool fbComp = false;
+
if (!ctx->mBootAnimCompleted)
processBootAnimCompleted(ctx);
if (LIKELY(list && list->numHwLayers > 1) && ctx->dpyAttr[dpy].connected &&