hwc: Remove external only feature related code
External only feature is completely handled in surfaceflinger, remove unwanted code churn related to external only feature from display HAL. Change-Id: If4f4f3fa8e91a5b8387e426b9e190abd2b06d793
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
0bbf3d33e1
commit
3d863777c5
@@ -835,7 +835,6 @@ void setListStats(hwc_context_t *ctx,
|
||||
ctx->listStats[dpy].isSecurePresent = false;
|
||||
ctx->listStats[dpy].yuvCount = 0;
|
||||
char property[PROPERTY_VALUE_MAX];
|
||||
ctx->listStats[dpy].extOnlyLayerIndex = -1;
|
||||
ctx->listStats[dpy].isDisplayAnimating = false;
|
||||
ctx->listStats[dpy].secureUI = false;
|
||||
ctx->listStats[dpy].yuv4k2kCount = 0;
|
||||
@@ -888,10 +887,6 @@ void setListStats(hwc_context_t *ctx,
|
||||
if(layer->blending == HWC_BLENDING_PREMULT)
|
||||
ctx->listStats[dpy].preMultipliedAlpha = true;
|
||||
|
||||
|
||||
if(UNLIKELY(isExtOnly(hnd))){
|
||||
ctx->listStats[dpy].extOnlyLayerIndex = (int)i;
|
||||
}
|
||||
}
|
||||
if(ctx->listStats[dpy].yuvCount > 0) {
|
||||
if (property_get("hw.cabl.yuv", property, NULL) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user