summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2025-04-15 13:39:08 -0700
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2025-04-15 13:39:08 -0700
commit127ec1126440ac6e1ff201b42cbec5f871e21055 (patch)
treeffb4d203a6fb785c872863b8f81ca61ad17aab35
parent0a282280f40a3e7f16edce592e7889d4874dd3b0 (diff)
parent2c903c71c779090ea7d00389667a08df35f02d8b (diff)
Merge cherrypicks of ['googleplex-android-review.googlesource.com/33079888'] into 25Q2-release.
Change-Id: Ic1fb23e1f27256cdb3239900db8811f65fe61faa
-rw-r--r--services/surfaceflinger/FrontEnd/RequestedLayerState.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp b/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp
index a469fc52fa..621fd6c00e 100644
--- a/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp
+++ b/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp
@@ -594,15 +594,6 @@ bool RequestedLayerState::fillsColor() const {
color.b >= 0.0_hf;
}
-bool RequestedLayerState::hasBufferOrSidebandStream() const {
- return ((sidebandStream != nullptr) || (externalTexture != nullptr));
-}
-
-bool RequestedLayerState::fillsColor() const {
- return !hasBufferOrSidebandStream() && color.r >= 0.0_hf && color.g >= 0.0_hf &&
- color.b >= 0.0_hf;
-}
-
bool RequestedLayerState::hasBlur() const {
return backgroundBlurRadius > 0 || blurRegions.size() > 0;
}