commit | 1d21a9cafc534c34a2f28c985c4c7aa176d0e67b | [log] [tgz] |
---|---|---|
author | Erik Gilling <konkers@android.com> | Wed Dec 01 16:38:01 2010 -0800 |
committer | Erik Gilling <konkers@android.com> | Wed Dec 08 15:40:11 2010 -0800 |
tree | 1e8dd1c885d6122e332b14777143a304dde1c7cd | |
parent | db4fdaaa1e434c854beb29bb499761d3a8aaa982 [diff] [blame] |
surfaceflinger: add support for gralloc dump hooks Change-Id: Ib6f539ed0132b70d040d653c03d52cc04249ac3c
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp index 4af274b..4a3b20d 100644 --- a/services/surfaceflinger/DisplayHardware/HWComposer.cpp +++ b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
@@ -120,6 +120,11 @@ l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom); result.append(buffer); } + + } + if (mHwc && mHwc->common.version >= 1 && mHwc->dump) { + mHwc->dump(mHwc, buffer, SIZE); + result.append(buffer); } }