Merge "hwc: Featurize framework changes"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
87db49eb52
@@ -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",
|
ALOGD_IF (VSYNC_DEBUG, "VSYNC state changed to %s",
|
||||||
(enable)?"ENABLED":"DISABLED");
|
(enable)?"ENABLED":"DISABLED");
|
||||||
break;
|
break;
|
||||||
|
#ifdef QCOM_BSP
|
||||||
case HWC_EVENT_ORIENTATION:
|
case HWC_EVENT_ORIENTATION:
|
||||||
if(dpy == HWC_DISPLAY_PRIMARY) {
|
if(dpy == HWC_DISPLAY_PRIMARY) {
|
||||||
// store the primary display orientation
|
// store the primary display orientation
|
||||||
@@ -260,6 +261,7 @@ static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy,
|
|||||||
ctx->deviceOrientation = enable;
|
ctx->deviceOrientation = enable;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -402,9 +402,11 @@ void setListStats(hwc_context_t *ctx,
|
|||||||
if(UNLIKELY(isExtOnly(hnd))){
|
if(UNLIKELY(isExtOnly(hnd))){
|
||||||
ctx->listStats[dpy].extOnlyLayerIndex = i;
|
ctx->listStats[dpy].extOnlyLayerIndex = i;
|
||||||
}
|
}
|
||||||
|
#ifdef QCOM_BSP
|
||||||
if (layer->flags & HWC_SCREENSHOT_ANIMATOR_LAYER) {
|
if (layer->flags & HWC_SCREENSHOT_ANIMATOR_LAYER) {
|
||||||
ctx->listStats[dpy].isDisplayAnimating = true;
|
ctx->listStats[dpy].isDisplayAnimating = true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
if(ctx->listStats[dpy].yuvCount > 0) {
|
if(ctx->listStats[dpy].yuvCount > 0) {
|
||||||
if (property_get("hw.cabl.yuv", property, NULL) > 0) {
|
if (property_get("hw.cabl.yuv", property, NULL) > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user