Home
last modified time | relevance | path

Searched refs:bufferTransform (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayerCompositionState.cpp68 dumpVal(out, "bufferTransform", toString(bufferTransform), bufferTransform); in dump()
DOutputLayer.cpp253 const ui::Transform bufferTransform{layerState.geomBufferTransform}; in calculateOutputRelativeBufferTransform() local
254 ui::Transform transform(displayTransform * layerTransform * bufferTransform); in calculateOutputRelativeBufferTransform()
274 transform = ui::Transform(invTransform) * displayTransform * bufferTransform; in calculateOutputRelativeBufferTransform()
303 state.bufferTransform = static_cast<Hwc2::Transform>( in updateCompositionState()
307 (state.bufferTransform & ui::Transform::ROT_INVALID)) { in updateCompositionState()
414 const auto bufferTransform = (requestedCompositionType != hal::Composition::SOLID_COLOR && in writeOutputDependentGeometryStateToHWC() local
416 ? outputDependentState.bufferTransform in writeOutputDependentGeometryStateToHWC()
418 if (auto error = hwcLayer->setTransform(static_cast<hal::Transform>(bufferTransform)); in writeOutputDependentGeometryStateToHWC()
421 toString(outputDependentState.bufferTransform).c_str(), to_string(error).c_str(), in writeOutputDependentGeometryStateToHWC()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputLayerCompositionState.h86 Hwc2::Transform bufferTransform{static_cast<Hwc2::Transform>(0)};
/frameworks/native/services/surfaceflinger/
DBufferStateLayer.cpp262 if (mDrawingState.bufferTransform == transform) return false; in setTransform()
263 mDrawingState.bufferTransform = transform; in setTransform()
348 if (mDrawingState.bufferTransform & ui::Transform::ROT_90) { in updateGeometry()
893 mBufferInfo.mTransform = s.bufferTransform; in gatherBufferInfo()
943 if (s.bufferTransform & ui::Transform::ROT_90) { in bufferNeedsFiltering()
DLayer.h201 uint32_t bufferTransform; member
DLayer.cpp117 mDrawingState.bufferTransform = 0; in Layer()
1472 StringAppendF(&result, "%10s | ", toString(outputLayerState.bufferTransform).c_str()); in miniDump()
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h108 Transform bufferTransform; variable
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp104 layer.bufferTransform = generateTransform(layerProto.buffer_transform()); in generateLayer()
307 StringAppendF(&result, " tr=%s", bufferTransform.to_string().c_str()); in to_string()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DLayerStateTest.cpp431 outputLayerCompositionState.bufferTransform = Hwc2::Transform::FLIP_H; in TEST_F()
440 outputLayerCompositionStateTwo.bufferTransform = Hwc2::Transform::FLIP_V; in TEST_F()
449 outputLayerCompositionState.bufferTransform = Hwc2::Transform::FLIP_H; in TEST_F()
457 outputLayerCompositionStateTwo.bufferTransform = Hwc2::Transform::FLIP_V; in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp572 EXPECT_EQ(static_cast<Hwc2::Transform>(mBufferTransform), state.bufferTransform); in validateComputedGeometryState()
758 outputLayerState.bufferTransform = static_cast<Hwc2::Transform>(kBufferTransform); in OutputLayerWriteStateToHWCTest()
806 Hwc2::Transform bufferTransform = kBufferTransform, in expectGeometryCommonCalls()
812 EXPECT_CALL(*mHwcLayer, setTransform(bufferTransform)).WillOnce(Return(kError)); in expectGeometryCommonCalls()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h289 return layer->getState().bufferTransform;