summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Andy McFadden <fadden@android.com> 2013-08-01 13:37:42 -0700
committer Andy McFadden <fadden@android.com> 2013-08-01 15:58:08 -0700
commit14fab7dd794cd6bf29e6425340683c6221062b3c (patch)
treeb8dac9c7ca47ea21852711cb3af0dfad1e343e9e /libs/ui/FramebufferNativeWindow.cpp
parent8776c34ca2e6cc92c453f5a83e11bcb67b0d5aff (diff)
Drop frames based on presentation timestamp
If there are two or more buffers pending that are ready for immediate presentation, drop all but the last one. Any code that didn't explicitly specify timestamps for buffers was using the default value (auto-generated "now"). As a result, surfaceflinger would drop frames whenever more than one buffer was queued. We now use zero as the auto-generated timestamp, and we don't set the timestamp in eglBeginFrame(). Change-Id: I187f42d33de227cd3411ff0dcd3b9ce1961457eb
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions