hwcomposer: Add support for UI mirroring
- Uevent observer as part of Hwcomposer - HPD, enabling/disabling external display from HWC Change-Id: I52b4f30c78e98c5b52c86722046389f458c2dbee
This commit is contained in:
committed by
Brian Muramatsu
parent
f48aef64b2
commit
0c8b7b5c84
@@ -18,7 +18,7 @@
|
||||
#include "hwc_utils.h"
|
||||
#include "mdp_version.h"
|
||||
#include "hwc_video.h"
|
||||
|
||||
#include "hwc_ext_observer.h"
|
||||
namespace qhwc {
|
||||
void initContext(hwc_context_t *ctx)
|
||||
{
|
||||
@@ -30,6 +30,8 @@ void initContext(hwc_context_t *ctx)
|
||||
ctx->hasOverlay = qdutils::MDPVersion::getInstance().hasOverlay();
|
||||
ALOGI("MDP version: %d",ctx->mdpVersion);
|
||||
|
||||
ctx->mExtDisplayObserver = ExtDisplayObserver::getInstance();
|
||||
ctx->mExtDisplayObserver->setHwcContext(ctx);
|
||||
}
|
||||
|
||||
void closeContext(hwc_context_t *ctx)
|
||||
|
||||
Reference in New Issue
Block a user