[Spice-devel] [GSoC] OpenGL support on Windows
Nathan Gauër
nathan.gauer at gmail.com
Mon Aug 28 21:42:09 UTC 2017
Hi all,
I'm Nathan Gauër, a GSoC 17 student.
My goal was to provide a PoC OpenGL driver for Windows.
Status:
This project contains two main parts: the OpenGL driver (ICD) and the
kernel driver (DOD).
An Escape handler had to be created on the current DOD driver, and is
now merged on the spice repo.
The ICD contains a basic state-tracker, supporting some OpenGL
commands like glClear, glDrawArray, and contexts.
As a result, we can now display some basic OpenGL.
To get a rapid overview of the project, here is a gist:
https://gist.github.com/Keenuts/199184f9a6d7a68d9a62cf0011147c0b
Repositories:
ICD: https://github.com/Keenuts/virtio-gpu-win-icd/tree/master
DOD: https://gitlab.com/spice/virtio-gpu-wddm/virtio-gpu-wddm-dod/tree/master
VirGL reference: https://github.com/Keenuts/virtio-gpu-documentation/tree/master
What's left to do:
- Extend the commands supported by the ICD
- Add a real state-tracker with shader support (Mesa)
- Add in kernel resource tracking to prevent lost resources
- Be able to get feedback from VirGL commands
All the best,
--
Nathan Gauër
More information about the Spice-devel
mailing list