summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Xin Li <delphij@google.com> 2022-08-16 11:49:27 -0700
committer Xin Li <delphij@google.com> 2022-08-16 11:49:27 -0700
commit91192c8103e78895c57d9da1fc04c8695898580f (patch)
tree9a4deff758bed03ccc5ff838dc55f467c303d762 /libs/gui/LayerDebugInfo.cpp
parent896cdca96956b6f14e262380b34a0b04e1214b50 (diff)
parenta7459772bbc558b8b13df09de8b0cea156d81870 (diff)
DO NOT MERGE - Merge Android 13
Bug: 242648940 Merged-In: Ia3eae81cc26b28b0d25dc5f5c6cd04ec8c1bafdf Change-Id: Icd8e5ea85bfed76d58c81368d94dd1f6101fc087
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
-rw-r--r--libs/gui/LayerDebugInfo.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/gui/LayerDebugInfo.cpp b/libs/gui/LayerDebugInfo.cpp
index 0827bbe3ee..ea5fb293a6 100644
--- a/libs/gui/LayerDebugInfo.cpp
+++ b/libs/gui/LayerDebugInfo.cpp
@@ -58,7 +58,6 @@ status_t LayerDebugInfo::writeToParcel(Parcel* parcel) const {
RETURN_ON_ERROR(parcel->writeInt32(mActiveBufferStride));
RETURN_ON_ERROR(parcel->writeInt32(mActiveBufferFormat));
RETURN_ON_ERROR(parcel->writeInt32(mNumQueuedFrames));
- RETURN_ON_ERROR(parcel->writeBool(mRefreshPending));
RETURN_ON_ERROR(parcel->writeBool(mIsOpaque));
RETURN_ON_ERROR(parcel->writeBool(mContentDirty));
RETURN_ON_ERROR(parcel->write(mStretchEffect));
@@ -103,7 +102,6 @@ status_t LayerDebugInfo::readFromParcel(const Parcel* parcel) {
RETURN_ON_ERROR(parcel->readInt32(&mActiveBufferStride));
RETURN_ON_ERROR(parcel->readInt32(&mActiveBufferFormat));
RETURN_ON_ERROR(parcel->readInt32(&mNumQueuedFrames));
- RETURN_ON_ERROR(parcel->readBool(&mRefreshPending));
RETURN_ON_ERROR(parcel->readBool(&mIsOpaque));
RETURN_ON_ERROR(parcel->readBool(&mContentDirty));
RETURN_ON_ERROR(parcel->read(mStretchEffect));
@@ -146,8 +144,7 @@ std::string to_string(const LayerDebugInfo& info) {
StringAppendF(&result, " activeBuffer=[%4ux%4u:%4u,%s],", info.mActiveBufferWidth,
info.mActiveBufferHeight, info.mActiveBufferStride,
decodePixelFormat(info.mActiveBufferFormat).c_str());
- StringAppendF(&result, " queued-frames=%d, mRefreshPending=%d", info.mNumQueuedFrames,
- info.mRefreshPending);
+ StringAppendF(&result, " queued-frames=%d", info.mNumQueuedFrames);
result.append("\n");
return result;
}