summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/FenceTracker.cpp
diff options
context:
space:
mode:
author Pablo Ceballos <pceballos@google.com> 2016-05-17 17:52:08 -0700
committer Pablo Ceballos <pceballos@google.com> 2016-06-01 16:41:15 -0700
commit5045ab2bb14110f577e3cfff8acfae906dc29935 (patch)
tree6b16accff3913b8abbc28624159b5ad8134ab592 /services/surfaceflinger/FenceTracker.cpp
parent8e0965d0d465be5e711f92eab452cff75badfad6 (diff)
SF: Re-enable fence tracker by default
- Don't check whether the fences have completed or not unless the data has been requested. Bug 22431447 Change-Id: Id4cb8bfba38547884849ef23c9b6f42f0d4d0750
Diffstat (limited to 'services/surfaceflinger/FenceTracker.cpp')
-rw-r--r--services/surfaceflinger/FenceTracker.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/services/surfaceflinger/FenceTracker.cpp b/services/surfaceflinger/FenceTracker.cpp
index 885d712530..d415bd5ed8 100644
--- a/services/surfaceflinger/FenceTracker.cpp
+++ b/services/surfaceflinger/FenceTracker.cpp
@@ -184,8 +184,6 @@ void FenceTracker::addFrame(nsecs_t refreshStartTime, sp<Fence> retireFence,
mOffset = (mOffset + 1) % MAX_FRAME_HISTORY;
mFrameCounter++;
-
- checkFencesForCompletion();
}
} // namespace android