am a6f895ee: am d30b36d1: SurfaceFlinger: reset the FB_TGT acquire fence

* commit 'a6f895ee344a350dad60e74b78539a4d5ba41e52':
  SurfaceFlinger: reset the FB_TGT acquire fence
This commit is contained in:
Jamie Gennis 2012-10-01 13:48:09 -07:00 committed by Android Git Automerger
commit 93b6c79501

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;
} }
} }