Loading services/surfaceflinger/Layer.cpp +9 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,9 @@ #endif #define DEBUG_RESIZE 0 #ifdef QCOM_HARDWARE #define SHIFT_SRC_TRANSFORM 4 #endif namespace android { Loading Loading @@ -239,6 +241,12 @@ void Layer::setGeometry(hwc_layer_t* hwcl) hwcl->flags = HWC_SKIP_LAYER; } else { hwcl->transform = finalTransform; #ifdef QCOM_HARDWARE //mBufferTransform will have the srcTransform //include src and final transform in the hwcl->transform hwcl->transform = (( bufferOrientation.getOrientation() << SHIFT_SRC_TRANSFORM) | hwcl->transform); #endif } if (isCropped()) { Loading Loading
services/surfaceflinger/Layer.cpp +9 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,9 @@ #endif #define DEBUG_RESIZE 0 #ifdef QCOM_HARDWARE #define SHIFT_SRC_TRANSFORM 4 #endif namespace android { Loading Loading @@ -239,6 +241,12 @@ void Layer::setGeometry(hwc_layer_t* hwcl) hwcl->flags = HWC_SKIP_LAYER; } else { hwcl->transform = finalTransform; #ifdef QCOM_HARDWARE //mBufferTransform will have the srcTransform //include src and final transform in the hwcl->transform hwcl->transform = (( bufferOrientation.getOrientation() << SHIFT_SRC_TRANSFORM) | hwcl->transform); #endif } if (isCropped()) { Loading