diff options
| author | 2020-05-12 00:09:04 +0000 | |
|---|---|---|
| committer | 2020-05-12 00:09:04 +0000 | |
| commit | 5705de86b465f287b5fab48f9c99d6ac0a82dcad (patch) | |
| tree | 426e6afa031b9fefa064155a9093dc098fa4f08c /services/surfaceflinger/BufferStateLayer.cpp | |
| parent | 5005714718cc5173df5c85b8c1780cf322a5ce47 (diff) | |
| parent | 942c53703fa4d1dec14d0e68b594c83e5fd30c4f (diff) | |
Merge "Provide a fixed transform hint if the layer is in a fixed orientation 1/2" into rvc-dev am: 942c53703f
Change-Id: I25879fed381d7b53dfa0bed31b32304147a37815
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; |