@@ -4300,7 +4300,7 @@ index f515165335..6a97bdc67a 100644
43004300- -
430143012.41.0
43024302
4303- From fceee68a7783f78b1f55cd2075155ee1e69385cc Mon Sep 17 00:00:00 2001
4303+ From fb99e056ac794d77e2c7c00afc50d53205099fc1 Mon Sep 17 00:00:00 2001
43044304From: osy <osy@turing.llc>
43054305Date: Wed, 7 Jan 2026 12:18:14 -0800
43064306Subject: [PATCH 9/9] ui/spice-display: support MTLTexture scanout to IOSurface
@@ -4438,7 +4438,7 @@ index 8acb9c0ef0..fffa0da90a 100644
44384438 if gio.found()
44394439diff --git a/ui/spice-display-metal.m b/ui/spice-display-metal.m
44404440new file mode 100644
4441- index 0000000000..978dfeb98e
4441+ index 0000000000..29e58d9461
44424442--- /dev/null
44434443+++ b/ui/spice-display-metal.m
44444444@@ -0,0 +1,166 @@
@@ -4532,7 +4532,7 @@ index 0000000000..978dfeb98e
45324532+ MTLOrigin origin = MTLOriginMake(self.scanoutRect.origin.x + rect.origin.x,
45334533+ self.scanoutRect.origin.y + rect.origin.y,
45344534+ 0);
4535- + MTLSize size = MTLSizeMake(rect.size.width, rect.size.height, 0 );
4535+ + MTLSize size = MTLSizeMake(rect.size.width, rect.size.height, 1 );
45364536+
45374537+ [blit copyFromTexture:self.scanoutTexture
45384538+ sourceSlice:0
@@ -4609,7 +4609,7 @@ index 0000000000..978dfeb98e
46094609+ }];
46104610+ }
46114611diff --git a/ui/spice-display.c b/ui/spice-display.c
4612- index 824e645d72..6ccc007ef0 100644
4612+ index 97a915a7ee..976f68710a 100644
46134613--- a/ui/spice-display.c
46144614+++ b/ui/spice-display.c
46154615@@ -939,6 +939,10 @@ static bool spice_iosurface_create(SimpleSpiceDisplay *ssd, int width, int heigh
@@ -4763,7 +4763,7 @@ index 824e645d72..6ccc007ef0 100644
47634763
47644764 trace_qemu_spice_gl_update(ssd->qxl.id, w, h, x, y);
47654765- -
4766- 2.50.1 (Apple Git-155)
4766+ 2.41.0
47674767
47684768From 27e45bc5d22b61a0b1f7094595c8eeb02d1258ec Mon Sep 17 00:00:00 2001
47694769From: osy <osy@turing.llc>
0 commit comments