hwc: hwc 1.1 implementation
Bug: 7124159
--External disabled
--MDP comp coded but disabled.
--Videos via overlay, so that secure videos can work.
Change-Id: Ie48b264143d5e4237ab9724e28930e3f68ba49ee
Signed-off-by: Iliyan Malchev <malchev@google.com>
diff --git a/libhwcomposer/hwc_uimirror.h b/libhwcomposer/hwc_uimirror.h
index a1bf9ba..c164d42 100644
--- a/libhwcomposer/hwc_uimirror.h
+++ b/libhwcomposer/hwc_uimirror.h
@@ -30,14 +30,14 @@
class UIMirrorOverlay {
public:
// Sets up members and prepares overlay if conditions are met
- static bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list);
+ static bool prepare(hwc_context_t *ctx, hwc_layer_1_t *fblayer);
// Draws layer if this feature is on
- static bool draw(hwc_context_t *ctx);
+ static bool draw(hwc_context_t *ctx, hwc_layer_1_t *fblayer);
//Reset values
static void reset();
private:
//Configures overlay
- static bool configure(hwc_context_t *ctx, hwc_display_contents_1_t *list);
+ static bool configure(hwc_context_t *ctx, hwc_layer_1_t *fblayer);
//The chosen overlay state.
static ovutils::eOverlayState sState;
//Flags if this feature is on.