diff options
author | Sean Paul <seanpaul@chromium.org> | 2015-10-01 13:20:02 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2015-10-06 22:45:59 -0400 |
commit | 27ca02a525513574c2e2ed2c559607487f0de42b (patch) | |
tree | 1459bc45800cdb93b6fa4198928960e7b2dffc4f /drmdisplaycompositor.h | |
parent | 573554106db499d323bea12ff00363b1816f8c8a (diff) |
drm_hwcomposer: Bump the acquire fence timeout to 83ms
To accomodate peak usage situations.
Change-Id: I46031ce394abf1ec09177089508dd625d7c17aaa
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'drmdisplaycompositor.h')
-rw-r--r-- | drmdisplaycompositor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drmdisplaycompositor.h b/drmdisplaycompositor.h index c9973c6..0f3a12f 100644 --- a/drmdisplaycompositor.h +++ b/drmdisplaycompositor.h @@ -51,9 +51,9 @@ class DrmDisplayCompositor { private: DrmDisplayCompositor(const DrmDisplayCompositor &) = delete; - // Set to 50ms which is somewhere between a reasonable amount of time to - // wait for a long render and a small enough delay to limit jank. - static const int kAcquireWaitTimeoutMs = 50; + // Set to 83ms (~12fps) which is somewhere between a reasonable amount of + // time to wait for a long render and a small enough delay to limit jank. + static const int kAcquireWaitTimeoutMs = 83; int ApplyPreComposite(DrmDisplayComposition *display_comp); int ApplyFrame(DrmDisplayComposition *display_comp); |