hwc: Update to new API

* Updates HWC to use the Jellybean MR1 API
* Remove qcom_ui which was using parts of the old API

Change-Id: I663363547b193d2318aae88f2256a9baed1e3d4b
diff --git a/libhwcomposer/hwc_extonly.h b/libhwcomposer/hwc_extonly.h
index 26d5fb9..dccd065 100644
--- a/libhwcomposer/hwc_extonly.h
+++ b/libhwcomposer/hwc_extonly.h
@@ -28,9 +28,9 @@
 class ExtOnly {
 public:
     //Sets up members and prepares overlay if conditions are met
-    static bool prepare(hwc_context_t *ctx, hwc_layer_list_t *list);
+    static bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list);
     //Draws layer if this feature is on
-    static bool draw(hwc_context_t *ctx, hwc_layer_list_t *list);
+    static bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list);
     //Receives data from hwc
     static void setStats(int extCount, int extIndex, bool isExtBlock);
     //resets values
@@ -39,9 +39,9 @@
     //Choose an appropriate overlay state based on conditions
     static void chooseState(hwc_context_t *ctx);
     //Configures overlay
-    static bool configure(hwc_context_t *ctx, hwc_layer_t *layer);
+    static bool configure(hwc_context_t *ctx, hwc_layer_1_t *layer);
     //Marks layer flags if this feature is used
-    static void markFlags(hwc_layer_t *layer);
+    static void markFlags(hwc_layer_1_t *layer);
     //returns ext-only count
     static int getExtCount();