OSDN Git Service

Pass fence to HWC on first use of buffer
authorJesse Hall <jessehall@google.com>
Fri, 29 Jun 2012 22:21:18 +0000 (15:21 -0700)
committerJesse Hall <jessehall@google.com>
Sun, 1 Jul 2012 04:38:51 +0000 (21:38 -0700)
commitdc5b485f74edf2d2f31c62054eb6c180421a3ade
treef33c9322cadc2895f0e0f28c1968d796c423c8c6
parentb42b1ac1587aebda5e2f334d95b620271fafba4e
Pass fence to HWC on first use of buffer

Also do a CPU-wait on the fence before using it for GL composition.

Change-Id: I0f645a42a44803276cae11b904e5a26d65871562
include/gui/SurfaceTexture.h
libs/gui/SurfaceTexture.cpp
services/surfaceflinger/DisplayHardware/HWComposer.cpp
services/surfaceflinger/DisplayHardware/HWComposer.h
services/surfaceflinger/Layer.cpp
services/surfaceflinger/Layer.h