summaryrefslogtreecommitdiff
path: root/libhwc2.1/libdevice/ExynosLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libhwc2.1/libdevice/ExynosLayer.cpp')
-rw-r--r--libhwc2.1/libdevice/ExynosLayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhwc2.1/libdevice/ExynosLayer.cpp b/libhwc2.1/libdevice/ExynosLayer.cpp
index dbf8cbd..8f1662d 100644
--- a/libhwc2.1/libdevice/ExynosLayer.cpp
+++ b/libhwc2.1/libdevice/ExynosLayer.cpp
@@ -423,7 +423,7 @@ int32_t ExynosLayer::setLayerBuffer(buffer_handle_t buffer, int32_t acquireFence
checkFps(mLastLayerBuffer != mLayerBuffer);
if (mLayerBuffer != mLastLayerBuffer) {
mLastUpdateTime = systemTime(CLOCK_MONOTONIC);
- if (mCompositionType != HWC2_COMPOSITION_REFRESH_RATE_INDICATOR)
+ if (mRequestedCompositionType != HWC2_COMPOSITION_REFRESH_RATE_INDICATOR)
mDisplay->mBufferUpdates++;
}
}
@@ -1168,7 +1168,7 @@ void ExynosLayer::setGeometryChanged(uint64_t changedBit)
{
mLastUpdateTime = systemTime(CLOCK_MONOTONIC);
mGeometryChanged |= changedBit;
- if (mCompositionType != HWC2_COMPOSITION_REFRESH_RATE_INDICATOR)
+ if (mRequestedCompositionType != HWC2_COMPOSITION_REFRESH_RATE_INDICATOR)
mDisplay->setGeometryChanged(changedBit);
}