Merge "hwc: Featurize framework changes"

This commit is contained in:
Linux Build Service Account
2013-05-31 00:29:38 -07:00
committed by Gerrit - the friendly Code Review server
2 changed files with 4 additions and 0 deletions

View File

@@ -252,6 +252,7 @@ static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy,
ALOGD_IF (VSYNC_DEBUG, "VSYNC state changed to %s",
(enable)?"ENABLED":"DISABLED");
break;
#ifdef QCOM_BSP
case HWC_EVENT_ORIENTATION:
if(dpy == HWC_DISPLAY_PRIMARY) {
// store the primary display orientation
@@ -260,6 +261,7 @@ static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy,
ctx->deviceOrientation = enable;
}
break;
#endif
default:
ret = -EINVAL;
}

View File

@@ -402,9 +402,11 @@ void setListStats(hwc_context_t *ctx,
if(UNLIKELY(isExtOnly(hnd))){
ctx->listStats[dpy].extOnlyLayerIndex = i;
}
#ifdef QCOM_BSP
if (layer->flags & HWC_SCREENSHOT_ANIMATOR_LAYER) {
ctx->listStats[dpy].isDisplayAnimating = true;
}
#endif
}
if(ctx->listStats[dpy].yuvCount > 0) {
if (property_get("hw.cabl.yuv", property, NULL) > 0) {