display: Add QC Display utils
* Rename qcomui directory to qdutils
* Avoid inclusion of qcom_ui header
* Add class to get MDP version
* Add namespace for qdutils to prevent collison
Change-Id: I9a3f440e6b0fea1cfcc478ddca90af5df3bbb897
diff --git a/libhwcomposer/hwc_utils.h b/libhwcomposer/hwc_utils.h
index b1c7871..94a4edb 100644
--- a/libhwcomposer/hwc_utils.h
+++ b/libhwcomposer/hwc_utils.h
@@ -26,7 +26,6 @@
#include <string.h>
#include <fb_priv.h>
#include <overlay.h>
-#include <qcom_ui.h>
#include <genlock.h>
#include "hwc_qbuf.h"
@@ -37,6 +36,13 @@
struct hwc_context_t;
namespace qhwc {
+enum external_display_type {
+ EXT_TYPE_NONE,
+ EXT_TYPE_HDMI,
+ EXT_TYPE_WIFI
+};
+
+
// -----------------------------------------------------------------------------
// Utility functions - implemented in hwc_utils.cpp
void dumpLayer(hwc_layer_t const* l);
@@ -93,6 +99,8 @@
int yuvBufferCount;
int hdmiEnabled;
int numHwLayers;
+ int mdpVersion;
+ bool hasOverlay;
bool skipComposition;
//Framebuffer device