OSDN Git Service

Add deferTransaction variant taking GraphicBufferProducer.
authorRobert Carr <racarr@google.com>
Wed, 11 Jan 2017 00:42:54 +0000 (16:42 -0800)
committerRobert Carr <racarr@google.com>
Mon, 27 Feb 2017 18:20:10 +0000 (10:20 -0800)
commit0d48072f6047140119ff194c1194ce402fca2c0b
tree3db72861fcac7b9a1622d3f7d75d54bcba2e22b3
parente7f1979d8180ff9ab10422da2020e77fafe8d7d6
Add deferTransaction variant taking GraphicBufferProducer.

For SurfaceView using child layers, the client framework
will not have access to the Handle* for the parent surface,
but still needs a way to defer transactions to it's frames.

Test: Tested with corresponding SurfaceView modifications and existing tests.
Change-Id: I6f01c360e85a95ff0ab08db406741221152e5d5c
13 files changed:
include/gui/SurfaceComposerClient.h
include/gui/SurfaceControl.h
include/private/gui/LayerState.h
libs/gui/LayerState.cpp
libs/gui/SurfaceComposerClient.cpp
libs/gui/SurfaceControl.cpp
services/surfaceflinger/Layer.cpp
services/surfaceflinger/Layer.h
services/surfaceflinger/SurfaceFlinger.cpp
services/surfaceflinger/SurfaceFlinger.h
services/surfaceflinger/SurfaceFlinger_hwc1.cpp
services/surfaceflinger/SurfaceInterceptor.cpp
services/surfaceflinger/SurfaceInterceptor.h