am d30b36d1: SurfaceFlinger: reset the FB_TGT acquire fence

* commit 'd30b36d1fd0c7ab80553e784a155266be9703e47':
  SurfaceFlinger: reset the FB_TGT acquire fence
This commit is contained in:
Jamie Gennis 2012-10-01 12:29:34 -07:00 committed by Android Git Automerger
commit a6f895ee34

View File

@ -613,6 +613,7 @@ int HWComposer::getAndResetReleaseFenceFd(int32_t id) {
const DisplayData& disp(mDisplayData[id]); const DisplayData& disp(mDisplayData[id]);
if (disp.framebufferTarget) { if (disp.framebufferTarget) {
fd = disp.framebufferTarget->releaseFenceFd; fd = disp.framebufferTarget->releaseFenceFd;
disp.framebufferTarget->acquireFenceFd = -1;
disp.framebufferTarget->releaseFenceFd = -1; disp.framebufferTarget->releaseFenceFd = -1;
} }
} }