summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/DisplayHardware
diff options
context:
space:
mode:
authormayank parshar <mayankp@broadcom.com>2014-01-10 10:27:45 +0530
committerPierre Couillaud <pierre@broadcom.com>2014-01-25 06:35:24 -0800
commitb988f85fc44efd24f11f2e5ab8fb9b653916f666 (patch)
tree788fe0425ce69795a1b9417409e2e13a896170f5 /services/surfaceflinger/DisplayHardware
parentaf29b77ab7dab5a1b5af27e7f7eeeb14584c101c (diff)
downloadframeworks_native-b988f85fc44efd24f11f2e5ab8fb9b653916f666.zip
frameworks_native-b988f85fc44efd24f11f2e5ab8fb9b653916f666.tar.gz
frameworks_native-b988f85fc44efd24f11f2e5ab8fb9b653916f666.tar.bz2
SurfaceFlinger: mFbFence initialization
MobC00383030 b/12487813 SurfaceFlinger crash is observed while connecting to Wi-Fi display. Note: change 14e8b01a761180250671f3d6494532d8bd04fa8e removed the initialization leading to the crash when running through the HWC composition path. Restore the initialization to solve the problem. Change-Id: I581defc7135ac512080c0da06a62b1dae7d218c4 Signed-off-by: mayank parshar <mayankp@broadcom.com> Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
Diffstat (limited to 'services/surfaceflinger/DisplayHardware')
-rw-r--r--services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp b/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp
index be5cf4a..e203903 100644
--- a/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp
+++ b/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp
@@ -458,6 +458,7 @@ void VirtualDisplaySurface::resetPerFrameState() {
mCompositionType = COMPOSITION_UNKNOWN;
mSinkBufferWidth = 0;
mSinkBufferHeight = 0;
+ mFbFence = Fence::NO_FENCE;
mOutputFence = Fence::NO_FENCE;
mOutputProducerSlot = -1;
}