diff options
Diffstat (limited to 'exynos4')
-rw-r--r-- | exynos4/hal/libhwc/hwcomposer.cpp | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/exynos4/hal/libhwc/hwcomposer.cpp b/exynos4/hal/libhwc/hwcomposer.cpp index 190dd4c..361697f 100644 --- a/exynos4/hal/libhwc/hwcomposer.cpp +++ b/exynos4/hal/libhwc/hwcomposer.cpp @@ -292,23 +292,14 @@ bool is_overlay_supported(struct hwc_context_t *ctx, hwc_layer_1_t &layer, size_ if (!supports_fimg(layer)) { ALOGW("\tlayer %u: FIMG required but not supported", i); return false; - } else { - ALOGW("\t<fimg> layer %u, format %u, cType=%d, hints=%d, flags=%d, w=%d, h=%d, tr=%d, bl=%d, a=%d", i, handle->format, layer.compositionType, - layer.hints, layer.flags, WIDTH(layer.displayFrame), HEIGHT(layer.displayFrame), layer.transform, layer.blending, layer.planeAlpha); - - } + } break; #endif case gsc_map_t::FIMC: if (!supports_fimc(layer)) { - ALOGW("\tlayer %u: FIMC required but not supported", i); + ALOGW("\tlayer %u: FIMG required but not supported", i); return false; - } else { - ALOGW("\t<fimg> layer %u, format %u, cType=%d, hints=%d, flags=%d, w=%d, h=%d, tr=%d, bl=%d, a=%d", i, handle->format, layer.compositionType, - layer.hints, layer.flags, WIDTH(layer.displayFrame), HEIGHT(layer.displayFrame), layer.transform, layer.blending, layer.planeAlpha); - - } - + } break; default: @@ -316,11 +307,7 @@ bool is_overlay_supported(struct hwc_context_t *ctx, hwc_layer_1_t &layer, size_ || !is_x_aligned(layer)) { ALOGW("\tlayer %u: pixel format %u not supported", i, handle->format); return false; - } else { - ALOGW("\t<fimg> layer %u, format %u, cType=%d, hints=%d, flags=%d, w=%d, h=%d, tr=%d, bl=%d, a=%d", i, handle->format, layer.compositionType, - layer.hints, layer.flags, WIDTH(layer.displayFrame), HEIGHT(layer.displayFrame), layer.transform, layer.blending, layer.planeAlpha); - - } + } } if (visible_width(ctx, layer) < BURSTLEN_BYTES) { |