std.qt5_egl
EGL-Surface-Verwaltung für Qt5: OpenGL ES-Kontext auf Qt5-Fenstern unter Linux/Android. Verwendet EGL als Verbindungsschicht zwischen OpenGL ES und dem Fenstermanager — Alternative zu GLX für Embedded- und Mobile-Targets.
→ std.qt5_app · std.qt5_gl · std.qt5_glx
Typen
EGLDisplay (struct)
| Feld | Typ |
|---|---|
display | int64 |
initialized | int64 |
Funktionen
| Signatur | Sichtbarkeit | Beschreibung |
|---|---|---|
EGLGetDisplay(nativeDisplay: int64): EGLDisplay | pub | Duenne, typisierte Huellen um die rohen egl*-Bindings oben; sie bilden das im Abschnitt „Note“ beschriebene Nutzungsmuster ab. Display holen und initialisieren. |
EGLBindOpenGL(d: EGLDisplay): int64 | pub | Desktop-OpenGL als Client-API binden. Liefert EGL_TRUE/EGL_FALSE. |
EGLBindOpenGLES(d: EGLDisplay): int64 | pub | OpenGL ES als Client-API binden. Liefert EGL_TRUE/EGL_FALSE. |
EGLCreateContext(d: EGLDisplay, config: EGLConfig, share: EGLContext, attribList: int64): EGLContext | pub | Kontext anlegen. attribList darf 0 sein (Default-Attribute). |
EGLCreateWindowSurface(d: EGLDisplay, config: EGLConfig, window: int64, attribList: int64): EGLSurface | pub | Fenster-Surface fuer ein natives Fenster anlegen. |
EGLMakeCurrent(d: EGLDisplay, draw: EGLSurface, read: EGLSurface, ctx: EGLContext): int64 | pub | Kontext und Surfaces an den aufrufenden Thread binden. |
EGLSwapBuffers(d: EGLDisplay, surface: EGLSurface): int64 | pub | Surface praesentieren. |
EGLTerminate(d: EGLDisplay): int64 | pub | Display herunterfahren. Ein nicht initialisiertes Display ist ein No-op. |
Signaturen automatisch aus std/qt5_egl.lyx erzeugt (Stand 2026-08-02, lyxc 1.0.21A). Beschreibungen stammen aus den Quellkommentaren und sind teilweise unvollständig.
