RFC virtio-gpu-virgl: introduce Venus support for macOS
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest6 patches 3 repliesIn review
- v1 RFC7 patches 27 repliesSuperseded
Changes in v2 from the cover letter
- Removed "virtio-gpu-virgl: check page alignment of blob mapping"
- Fixed build on Linux
- Restored check on blob resources
- Renamed new structs in console.c
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | egl-helpers: store handle to native devicehw/ include/ ui/ | +4 | 0 replies | |
| 2/6 | console: rename `d3d_tex2d` to `native`hw/ include/ include/ +9 more | +46 | 0 replies | |
| 3/6 | virtio-gpu-virgl: update virglrenderer defineshw/ | +25 | 0 replies | |
| 4/6 | virtio-gpu-virgl: support scanout of Metal textureshw/ hw/ include/ +1 more | +25 | 3 replies | |
| 5/6 | console: add cleanup callback for ScanoutTexturehw/ include/ ui/ | +59 | 0 replies | |
| 6/6 | virtio-gpu-virgl: add support for native blob scanouthw/ meson.build | +65 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH RFC v2 0/6] virtio-gpu-virgl: introduce Venus support for macOS
This brings Vulkan guest paravirtualization to macOS hosts. The bulk of the work is being submitted to the virglrenderer project so this is a RFC for now.
In addition to Vulkan, we also introduce Metal texture scanout for GLES guests as well. We also added Metal texture rendering in the Cocoa backend but that builds upon the GLES work by Akihiko Odaki which is not currently upstream.
Fork with all dependent changes:
https://github.com/utmapp/qemu/tree/submit/macos-venus
Instructions for building and testing with all related projects:
https://gist.github.com/osy/a8f705050eed1c8421ad1a0855a8faa9
v2:
- Removed "virtio-gpu-virgl: check page alignment of blob mapping"
- Fixed build on Linux
- Restored check on blob resources
- Renamed new structs in console.c
Joelle van Dyne (6):
egl-helpers: store handle to native device
console: rename d3d_tex2d to native
virtio-gpu-virgl: update virglrenderer defines
virtio-gpu-virgl: support scanout of Metal textures
console: add cleanup callback for ScanoutTexture
virtio-gpu-virgl: add support for native blob scanout
meson.build | 9 +++ include/ui/console.h | 31 +++++++++- include/ui/egl-helpers.h | 2 +- include/ui/gtk.h | 4 +- include/ui/sdl2.h | 2 +- hw/display/virtio-gpu-virgl.c | 112 +++++++++++++++++++++++++++++++--- hw/display/virtio-gpu.c | 10 ++- ui/console.c | 60 +++++++++++++++--- ui/dbus-console.c | 2 +- ui/dbus-listener.c | 8 +-- ui/egl-headless.c | 4 +- ui/egl-helpers.c | 4 +- ui/gtk-egl.c | 4 +- ui/gtk-gl-area.c | 4 +- ui/sdl2-gl.c | 2 +- ui/spice-display.c | 2 +- 16 files changed, 220 insertions(+), 40 deletions(-)
Signature · 1 line
2.50.1 (Apple Git-155)