crosvm/rutabaga_gfx
Ryan Neph d5fa537753 rutabaga_gfx: avoid fence_poll() if all components use async_fence_cb
An optional performance optimization that almost completely avoids the
wakeup cost of timer-based fence polling when all RutabagaComponents use
async_fence_cb. There is still a small overhead from the per-loop
virtio_gpu.needs_fence_poll() tests. This overhead will be removed in
later CLs, when timer-based fencing support is removed.

BUG=b:175527587
TEST=cargo build --features=virgl_renderer,virgl_renderer_next,gfxstream
TEST=Run glxgears and vkcube in a crosvm guest VM with virglrenderer

Change-Id: Id9f14bcbdaa4dcdc42b24be12d85cad2ea0efed5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3628300
Commit-Queue: Ryan Neph <ryanneph@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
2022-05-11 19:44:15 +00:00
..
ffi rutabaga_gfx: add context_name param to ffi/lib.rs 2022-05-03 23:08:55 +00:00
src rutabaga_gfx: avoid fence_poll() if all components use async_fence_cb 2022-05-11 19:44:15 +00:00
build.rs rutabaga_gfx: add gfxstream search path by using env 2022-05-06 22:50:21 +00:00
Cargo.toml rutabaga_gfx: do not support GLX if x feature is not enabled 2022-03-23 02:12:23 +00:00