Merge "hwc: set mModeOn flag for fbupdate properly"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
7ed66cf0ac
@@ -66,8 +66,9 @@ void IFBUpdate::reset() {
|
|||||||
bool IFBUpdate::prepareAndValidate(hwc_context_t *ctx,
|
bool IFBUpdate::prepareAndValidate(hwc_context_t *ctx,
|
||||||
hwc_display_contents_1 *list, int fbZorder) {
|
hwc_display_contents_1 *list, int fbZorder) {
|
||||||
hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1];
|
hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1];
|
||||||
return prepare(ctx, list, layer->displayFrame, fbZorder) &&
|
mModeOn = prepare(ctx, list, layer->displayFrame, fbZorder) &&
|
||||||
ctx->mOverlay->validateAndSet(mDpy, ctx->dpyAttr[mDpy].fd);
|
ctx->mOverlay->validateAndSet(mDpy, ctx->dpyAttr[mDpy].fd);
|
||||||
|
return mModeOn;
|
||||||
}
|
}
|
||||||
|
|
||||||
//================= Low res====================================
|
//================= Low res====================================
|
||||||
|
|||||||
Reference in New Issue
Block a user