OSDN Git Service

Surface: Add force disconnection method.
authorRobert Carr <racarr@google.com>
Thu, 8 Sep 2016 20:54:35 +0000 (13:54 -0700)
committerRobert Carr <racarr@google.com>
Wed, 14 Sep 2016 16:48:40 +0000 (09:48 -0700)
commit97b9c86338e2d364d47ea7522c2d81a8014f0e07
tree263e7e5a01758911cf2ee61c926ebf85db3d5f27
parent669867835ba2a8120cc3c171c8dc3e41ae9b9c8c
Surface: Add force disconnection method.

Add a new method forceScopedDisconnect to Surface. This will
be used by the framework to force disconnection at times where
the underlying GraphicBufferProducer may be about to be reused.
This is scoped by PID to avoid conflicting with remote producers.

Bug: 30236166
Change-Id: I857216483c0b550f240b3baea41977cbc58a67ed
include/gui/BufferQueueCore.h
include/gui/BufferQueueProducer.h
include/gui/IGraphicBufferProducer.h
include/gui/Surface.h
libs/gui/BufferQueueProducer.cpp
libs/gui/IGraphicBufferProducer.cpp
libs/gui/Surface.cpp
services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp
services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.h
services/surfaceflinger/MonitoredProducer.cpp
services/surfaceflinger/MonitoredProducer.h