A class encapsulating an EGL context and display handle. More...
This struct was introduced in Qt 5.4.
|QEGLNativeContext(EGLContext ctx, EGLDisplay dpy)|
Note: There is no binary compatibility guarantee for this class, meaning that an application using it is only guaranteed to work with the Qt version it was developed against.
Note: Due to being public while relying on otherwise hidden EGL types, this header itself does not include
EGL/egl.h. It is the application's responsibility to include egl.h with any appropriate defines (for example,
MESA_EGL_NO_X11_HEADERS or other vendor-specific defines controlling the typedefs for EGL's native resources) before this header.
Member Function Documentation
Constructs a new instance with the provided ctx and dpy handles.
Construct a new instance with no handles.
Returns the EGL context.
Returns the EGL display.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.