diff options
| author | 2020-05-11 23:51:56 +0000 | |
|---|---|---|
| committer | 2020-05-11 23:51:56 +0000 | |
| commit | 942c53703fa4d1dec14d0e68b594c83e5fd30c4f (patch) | |
| tree | 426e6afa031b9fefa064155a9093dc098fa4f08c /services/surfaceflinger/BufferStateLayer.cpp | |
| parent | 7db72bbbbfe01b1dd46e8a4d82d85e9ec6db5662 (diff) | |
| parent | 6213bd900145b9189c7d87aec8a2714a66c8d057 (diff) | |
Merge "Provide a fixed transform hint if the layer is in a fixed orientation 1/2" into rvc-dev
Diffstat (limited to 'services/surfaceflinger/BufferStateLayer.cpp')
| -rw-r--r-- | services/surfaceflinger/BufferStateLayer.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/services/surfaceflinger/BufferStateLayer.cpp b/services/surfaceflinger/BufferStateLayer.cpp index a121ce0672..a1ed6d7116 100644 --- a/services/surfaceflinger/BufferStateLayer.cpp +++ b/services/surfaceflinger/BufferStateLayer.cpp @@ -51,9 +51,6 @@ BufferStateLayer::BufferStateLayer(const LayerCreationArgs& args) : BufferLayer(args), mHwcSlotGenerator(new HwcSlotGenerator()) { mOverrideScalingMode = NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW; mCurrentState.dataspace = ui::Dataspace::V0_SRGB; - if (const auto display = args.displayDevice) { - updateTransformHint(display); - } } BufferStateLayer::~BufferStateLayer() { @@ -108,10 +105,6 @@ void BufferStateLayer::onLayerDisplayed(const sp<Fence>& releaseFence) { } } -void BufferStateLayer::setTransformHint(uint32_t orientation) const { - mTransformHint = orientation; -} - void BufferStateLayer::releasePendingBuffer(nsecs_t dequeueReadyTime) { for (const auto& handle : mDrawingState.callbackHandles) { handle->transformHint = mTransformHint; |