m |
(categorise, wikify section headings) |
||
| Line 1: | Line 1: | ||
Currently two different approaches exist for providing hardware acceleration for OpenGL in qemu. | Currently two different approaches exist for providing hardware acceleration for OpenGL in qemu. | ||
| - | = Today = | + | == Today == |
| - | == dgles2 == | + | === dgles2 === |
* EGL, OpenGL ES2, OpenGL ES 1.1 | * EGL, OpenGL ES2, OpenGL ES 1.1 | ||
* Transport: custom | * Transport: custom | ||
| Line 23: | Line 23: | ||
* host OpenGL library (glx on linux, wgl on windows, agl on apple, osmesa as fallback) | * host OpenGL library (glx on linux, wgl on windows, agl on apple, osmesa as fallback) | ||
| - | == virtio-gl == | + | === virtio-gl === |
* glx, OpenGL | * glx, OpenGL | ||
* Transport: glx | * Transport: glx | ||
| Line 41: | Line 41: | ||
* host OpenGL library (glx on linux, wgl on windows | * host OpenGL library (glx on linux, wgl on windows | ||
| - | = Future = | + | == Future == |
In future we want to merge these to one approach. Several alternatives are considered: | In future we want to merge these to one approach. Several alternatives are considered: | ||
| - | == Approach 1, dgles2-based virtual gpu == | + | === Approach 1, dgles2-based virtual gpu === |
* Refactor fgles/kfgles/qemu to use a "virtual gpu" with ram, io and interrupt | * Refactor fgles/kfgles/qemu to use a "virtual gpu" with ram, io and interrupt | ||
| Line 59: | Line 59: | ||
*- Protocol between guest and qemu needs to defined | *- Protocol between guest and qemu needs to defined | ||
| - | == Approach 2, glx-based transport == | + | === Approach 2, glx-based transport === |
* Run dgles2 _inside_ Qemu with glx backend | * Run dgles2 _inside_ Qemu with glx backend | ||
| Line 75: | Line 75: | ||
*- Works on EGL/GL, doesn't on EGL/GLES. work effort unkown. | *- Works on EGL/GL, doesn't on EGL/GLES. work effort unkown. | ||
| + | |||
| + | [[Category:SDK]] | ||
Currently two different approaches exist for providing hardware acceleration for OpenGL in qemu.
Contents |
Rough overview:
Rough overview:
In future we want to merge these to one approach. Several alternatives are considered:
Variant for this approach: instead of dgles2, use Mesa egl_glx backend.