diff options
author | mayank parshar <mayankp@broadcom.com> | 2014-01-23 15:08:31 +0530 |
---|---|---|
committer | Pierre Couillaud <pierre@broadcom.com> | 2014-01-28 09:33:33 -0800 |
commit | fdfde88d0bcd0b293c9deb37f49254bdd97e4dac (patch) | |
tree | c711bf11b0d1e34667d46b3dce4dc8da3f89d915 /services/surfaceflinger/DisplayHardware | |
parent | 851b2cb18c329e0d19f9f56f68425b714007a274 (diff) | |
download | frameworks_native-fdfde88d0bcd0b293c9deb37f49254bdd97e4dac.zip frameworks_native-fdfde88d0bcd0b293c9deb37f49254bdd97e4dac.tar.gz frameworks_native-fdfde88d0bcd0b293c9deb37f49254bdd97e4dac.tar.bz2 |
SurfaceFlinger: mFbProducerSlot initailization
b/12487813
SurfaceFlinger crash is observed during simulation of
Secondary display
Note: change 14e8b01a761180250671f3d6494532d8bd04fa8e
removed the initialization leading to the crash when
simulating secondary display. Restore the initialization
to solve the problem.
Change-Id: Iae5845fb82735e01de5cc0dc582d13c27e3c614f
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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp b/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp index e203903..d7fef8c 100644 --- a/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp +++ b/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp @@ -461,6 +461,7 @@ void VirtualDisplaySurface::resetPerFrameState() { mFbFence = Fence::NO_FENCE; mOutputFence = Fence::NO_FENCE; mOutputProducerSlot = -1; + mFbProducerSlot = -1; } status_t VirtualDisplaySurface::refreshOutputBuffer() { |