diff options
author | 2024-07-25 09:55:52 -0500 | |
---|---|---|
committer | 2024-07-25 09:55:52 -0500 | |
commit | 4b9507d5a4586ecd2e14db88eb8674e204387ddd (patch) | |
tree | 0a29ebebb05c27fd351e549ed13f26d413b657ce /libs/gui/SurfaceComposerClient.cpp | |
parent | 8f71501b795d3891279e4930b879856b56c12429 (diff) |
Revert "Optimize BLAST buffer releases via Unix sockets"
Reverting due to b/355260320
Change-Id: I8a32f73b6805d3f2bceb2948925be6a9baaa3015
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
-rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp index cdf57ffd61..e86e13d3ee 100644 --- a/libs/gui/SurfaceComposerClient.cpp +++ b/libs/gui/SurfaceComposerClient.cpp @@ -2395,22 +2395,6 @@ SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setDropI return *this; } -SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setBufferReleaseChannel( - const sp<SurfaceControl>& sc, - const std::shared_ptr<gui::BufferReleaseChannel::ProducerEndpoint>& channel) { - layer_state_t* s = getLayerState(sc); - if (!s) { - mStatus = BAD_INDEX; - return *this; - } - - s->what |= layer_state_t::eBufferReleaseChannelChanged; - s->bufferReleaseChannel = channel; - - registerSurfaceControlForCallback(sc); - return *this; -} - // --------------------------------------------------------------------------- DisplayState& SurfaceComposerClient::Transaction::getDisplayState(const sp<IBinder>& token) { |