summaryrefslogtreecommitdiff
path: root/sdm/libs/hwc2/hwc_layers.cpp
diff options
context:
space:
mode:
authorPullakavi Srinivas <spullaka@codeaurora.org>2018-04-19 20:32:13 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-09-16 23:21:42 -0700
commitc6a110ea972fdf2de111e70ee5a0e0d6cf19946f (patch)
tree5c59ca80fe9ccfc958f659ec7c2a723c183ef181 /sdm/libs/hwc2/hwc_layers.cpp
parent862960ffd3dff6e543ba88693da052d2bd1c1fbf (diff)
hwc2: Do not mark single buffered or color fill layers as skip
CRs-Fixed: 2225117 Change-Id: I9d924a5b16c7755ca9fb7f4cf799328456fe11c6
Diffstat (limited to 'sdm/libs/hwc2/hwc_layers.cpp')
-rw-r--r--sdm/libs/hwc2/hwc_layers.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sdm/libs/hwc2/hwc_layers.cpp b/sdm/libs/hwc2/hwc_layers.cpp
index 94f1a611..4dc8f133 100644
--- a/sdm/libs/hwc2/hwc_layers.cpp
+++ b/sdm/libs/hwc2/hwc_layers.cpp
@@ -459,6 +459,9 @@ HWC2::Error HWCLayer::SetLayerSourceCrop(hwc_frect_t crop) {
(crop.top != roundf(crop.top)) ||
(crop.right != roundf(crop.right)) ||
(crop.bottom != roundf(crop.bottom)));
+ if (non_integral_source_crop_) {
+ DLOGV_IF(kTagClient, "Crop: LTRB %f %f %f %f", crop.left, crop.top, crop.right, crop.bottom);
+ }
if (layer_->src_rect != src_rect) {
geometry_changes_ |= kSourceCrop;
layer_->src_rect = src_rect;