commit | dc5b485f74edf2d2f31c62054eb6c180421a3ade | [log] [tgz] |
---|---|---|
author | Jesse Hall <jessehall@google.com> | Fri Jun 29 15:21:18 2012 -0700 |
committer | Jesse Hall <jessehall@google.com> | Sat Jun 30 21:38:51 2012 -0700 |
tree | f33c9322cadc2895f0e0f28c1968d796c423c8c6 | |
parent | b42b1ac1587aebda5e2f334d95b620271fafba4e [diff] [blame] |
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
diff --git a/services/surfaceflinger/Layer.h b/services/surfaceflinger/Layer.h index d47f2e8..29515f0 100644 --- a/services/surfaceflinger/Layer.h +++ b/services/surfaceflinger/Layer.h
@@ -120,6 +120,7 @@ bool mCurrentOpacity; bool mRefreshPending; bool mFrameLatencyNeeded; + bool mNeedHwcFence; int mFrameLatencyOffset; struct Statistics {