diff options
| author | 2021-04-07 18:56:48 +0000 | |
|---|---|---|
| committer | 2021-04-07 18:56:48 +0000 | |
| commit | b16fa8e49508388184bbf1efff2092a036a54aa6 (patch) | |
| tree | 554e7ad9ba3c0d701c3403e47e6717449759749d /libs/gui/SurfaceComposerClient.cpp | |
| parent | 0de23a9eafae2db42781b6db6994c7d52621e7a9 (diff) | |
| parent | 9a93ea66bb7116b8821877a69991ae94557b1303 (diff) | |
Merge "Remove setFrame from BufferStateLayer" into sc-dev
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
| -rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp index 879955b7d7..c888312184 100644 --- a/libs/gui/SurfaceComposerClient.cpp +++ b/libs/gui/SurfaceComposerClient.cpp @@ -1246,20 +1246,6 @@ SurfaceComposerClient::Transaction::setTransformToDisplayInverse(const sp<Surfac return *this; } -SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setFrame( - const sp<SurfaceControl>& sc, const Rect& frame) { - layer_state_t* s = getLayerState(sc); - if (!s) { - mStatus = BAD_INDEX; - return *this; - } - s->what |= layer_state_t::eFrameChanged; - s->orientedDisplaySpaceRect = frame; - - registerSurfaceControlForCallback(sc); - return *this; -} - SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setBuffer( const sp<SurfaceControl>& sc, const sp<GraphicBuffer>& buffer, ReleaseBufferCallback callback) { |