aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Hu <bohu@google.com>2022-07-14 06:53:08 -0700
committerBo Hu <bohu@google.com>2022-07-14 13:56:45 +0000
commit22c26898edd994fb13e29f3fe2cd483d6af22027 (patch)
tree6ce4f4a5af826f5d57ceb55b7209871bca54e579
parent5dbb9b3eaba314a01763860522846ec43815333f (diff)
downloadgoldfish-opengl-22c26898edd994fb13e29f3fe2cd483d6af22027.tar.gz
reduce log spam from RanchuHwc
ALOGW "presentDisplay display has no layers to compose" shows up too frequently, turn it to Verbose mode. Bug: 239019769 Change-Id: I89caf2481332e6ed07a14afeacc0f84268b41336
-rw-r--r--system/hwc2/HostComposer.cpp2
-rw-r--r--system/hwc3/HostFrameComposer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/hwc2/HostComposer.cpp b/system/hwc2/HostComposer.cpp
index 5bf324e0..472e7829 100644
--- a/system/hwc2/HostComposer.cpp
+++ b/system/hwc2/HostComposer.cpp
@@ -570,7 +570,7 @@ std::tuple<HWC2::Error, base::unique_fd> HostComposer::presentDisplay(
display->clearReleaseFencesAndIdsLocked();
if (numLayer == 0) {
- ALOGW(
+ ALOGV(
"%s display has no layers to compose, flushing client target buffer.",
__FUNCTION__);
diff --git a/system/hwc3/HostFrameComposer.cpp b/system/hwc3/HostFrameComposer.cpp
index 7b090c2d..f976e053 100644
--- a/system/hwc3/HostFrameComposer.cpp
+++ b/system/hwc3/HostFrameComposer.cpp
@@ -578,7 +578,7 @@ HWC3::Error HostFrameComposer::presentDisplay(
displayId, static_cast<int>(layers.size()));
if (numLayer == 0) {
- ALOGW(
+ ALOGV(
"%s display has no layers to compose, flushing client target buffer.",
__FUNCTION__);