summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/LayerBase.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-01-19 16:15:53 -0800
committerMathias Agopian <mathias@google.com>2011-01-19 16:15:53 -0800
commit48b888aab9fdcfba250722dffbdffe61f11c64f3 (patch)
tree262ca54f0bc29e66d47915b9aa11d4c4d3d42e07 /services/surfaceflinger/LayerBase.cpp
parentb9c21f7e295bf4869b2aeb24e5134f198135ee92 (diff)
downloadframeworks_native-48b888aab9fdcfba250722dffbdffe61f11c64f3.zip
frameworks_native-48b888aab9fdcfba250722dffbdffe61f11c64f3.tar.gz
frameworks_native-48b888aab9fdcfba250722dffbdffe61f11c64f3.tar.bz2
improve SurfaceFlinger 'dumpsys' log
list the purgatory, which shows windows that have been closed, but for which the client still has references. Change-Id: I5168bb88cb328d5d77d71d0871deb9190f493126
Diffstat (limited to 'services/surfaceflinger/LayerBase.cpp')
-rw-r--r--services/surfaceflinger/LayerBase.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/services/surfaceflinger/LayerBase.cpp b/services/surfaceflinger/LayerBase.cpp
index 0c1fcf9..9ddb05f 100644
--- a/services/surfaceflinger/LayerBase.cpp
+++ b/services/surfaceflinger/LayerBase.cpp
@@ -534,6 +534,12 @@ void LayerBase::dump(String8& result, char* buffer, size_t SIZE) const
result.append(buffer);
}
+void LayerBase::shortDump(String8& result, char* scratch, size_t size) const
+{
+ LayerBase::dump(result, scratch, size);
+}
+
+
// ---------------------------------------------------------------------------
int32_t LayerBaseClient::sIdentity = 1;
@@ -585,6 +591,12 @@ void LayerBaseClient::dump(String8& result, char* buffer, size_t SIZE) const
result.append(buffer);
}
+
+void LayerBaseClient::shortDump(String8& result, char* scratch, size_t size) const
+{
+ LayerBaseClient::dump(result, scratch, size);
+}
+
// ---------------------------------------------------------------------------
LayerBaseClient::Surface::Surface(