commit | 6a449226652734caeb1483e0da474b204be7169d | [log] [tgz] |
---|---|---|
author | David Reveman <reveman@chromium.org> | Thu Jun 14 16:42:23 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 14 16:42:23 2018 |
tree | de9eb60e44270075a43a67aaf0457a93197b351a | |
parent | 4a5c3582b56c6b7ddd221509e2131e82abe055be [diff] |
exo: Improve frame callbacks. Use the compositor frame ack instead of begin-frame callback to trigger these callbacks. The frame ack is sufficient to prevent frames from being dropped, and provides minimal latency back-pressure for clients that implement more advanced scheduling. This makes it possible to improve scheduling of frames for Linux apps significantly. Sommelier can have the next frame prepared as a dmabuf and ready to commit when we receive the callback. This minimizes the chance that we'll miss a frame. BUG=845659 TEST=exo_unittests --gtest_filter=SurfaceTest.RequestFrameCallback TEST=sommelier /usr/lib/weston/weston-simple-shm TEST=sommelier -X glxgears Change-Id: I20f06618d9d550ab501f3945b3d25d4a5c20c218 Reviewed-on: https://chromium-review.googlesource.com/1097776 Reviewed-by: Daniele Castagna <dcastagna@chromium.org> Commit-Queue: David Reveman <reveman@chromium.org> Cr-Commit-Position: refs/heads/master@{#567301}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .