mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-29 03:00:19 +00:00
509fd7babf
"width" and "height" are removed from the interface since they can be derived from DisplayParameters. Windows implementation was assuming only one display, so DisplayParameters was passed in with GpuDisplay::open_winapi() and assumed not to change. To support multi-display, it needs to be passed in every time we create a new surface. This should make no functional change to other platforms. BUG=b:332910955 Change-Id: I32767a37c8a1f50716190e13aa94c9c159db3d04 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5041413 Reviewed-by: Jason Macnak <natsu@google.com> Commit-Queue: Pujun Lun <lunpujun@google.com> Reviewed-by: Kaiyi Li <kaiyili@google.com> Reviewed-by: Frederick Mayle <fmayle@google.com> |
||
---|---|---|
.. | ||
simple.rs | ||
simple_open.rs |