crosvm/gpu_display/src
Pujun Lun 203cef4216 gpu_display: use mpsc channels to avoid busy-waiting.
We were busy-waiting on atomic variables for surface creation
results. We can use mpsc channels to avoid that, which also
eliminates the need for enum CreateSurfaceResult since we just need
to send booleans.

BUG=b:243184256
TEST=tested in downstream

Change-Id: If4c39c797f9ca9edf3695e44689904066546759f
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3928131
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Pujun Lun <lunpujun@google.com>
2022-10-04 01:10:19 +00:00
..
generated
gpu_display_win gpu_display: use mpsc channels to avoid busy-waiting. 2022-10-04 01:10:19 +00:00
keycode_converter gpu_display: upstream Windows implementation 2022-09-16 17:36:57 +00:00
sys gpu_display: upstream Windows implementation 2022-09-16 17:36:57 +00:00
display_wl.c
dwl.rs
event_device.rs gpu_display: upstream Windows implementation 2022-09-16 17:36:57 +00:00
gpu_display_stub.rs gpu_display: upstream Windows implementation 2022-09-16 17:36:57 +00:00
gpu_display_wl.rs gpu_display: upstream Windows implementation 2022-09-16 17:36:57 +00:00
gpu_display_x.rs gpu_display: upstream Windows implementation 2022-09-16 17:36:57 +00:00
lib.rs gpu_display: upstream Windows implementation 2022-09-16 17:36:57 +00:00