diff options
| author | 2025-02-06 07:18:54 -0800 | |
|---|---|---|
| committer | 2025-02-06 07:18:54 -0800 | |
| commit | 2766306267e35a80a419dacd73b64200ddf28138 (patch) | |
| tree | b315cdf2b4ef8aa54987e56957af757075f9f65c /libs/gui/SurfaceComposerClient.cpp | |
| parent | 17d1c43b7691f4cf20a1125a25baa8fa87e17fba (diff) | |
| parent | 16dd6e3e6f6500fe74ef27b8430c717ed5e7e9d8 (diff) | |
Merge "Remove client drawn shadow code" into main
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
| -rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp index f964c4dad2..37ed23bd6b 100644 --- a/libs/gui/SurfaceComposerClient.cpp +++ b/libs/gui/SurfaceComposerClient.cpp @@ -1687,17 +1687,6 @@ SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setClien return *this; } -SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setClientDrawnShadowRadius( - const sp<SurfaceControl>& sc, float clientDrawnShadowRadius) { - layer_state_t* s = getLayerState(sc); - if (!s) { - mStatus = BAD_INDEX; - return *this; - } - s->what |= layer_state_t::eClientDrawnShadowsChanged; - s->clientDrawnShadowRadius = clientDrawnShadowRadius; - return *this; -} SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setBackgroundBlurRadius( const sp<SurfaceControl>& sc, int backgroundBlurRadius) { layer_state_t* s = getLayerState(sc); |