commit | 2c903c71c779090ea7d00389667a08df35f02d8b | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Tue Apr 15 13:08:42 2025 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 15 13:38:57 2025 -0700 |
tree | ffb4d203a6fb785c872863b8f81ca61ad17aab35 | |
parent | 0a282280f40a3e7f16edce592e7889d4874dd3b0 [diff] |
Fix build break in 25Q2-release Bug: 277076451 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5013ab8640c7cbd8fdf89f133b4fa9184576e26f) Merged-In: I5f9fb4e011abb383c51b0fc03553947f325c20ae Change-Id: I5f9fb4e011abb383c51b0fc03553947f325c20ae
diff --git a/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp b/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp index a469fc5..621fd6c 100644 --- a/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp +++ b/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp
@@ -594,15 +594,6 @@ 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; }