QEGLNativeContext Class

A class encapsulating an EGL context and display handle More...

Header: #include <QEGLNativeContext>
Since: Qt 5.4

Public Functions

QEGLNativeContext(EGLContext ctx, EGLDisplay dpy)
EGLContext context() const
EGLDisplay display() const

Detailed Description

A class encapsulating an EGL context and display handle

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.

See also QOpenGLContext::setNativeHandle() and QOpenGLContext::nativeHandle().

Member Function Documentation


Construct a new instance with no handles.

QEGLNativeContext::QEGLNativeContext(EGLContext ctx, EGLDisplay dpy)

Constructs a new instance with the provided ctx and dpy handles.

EGLContext QEGLNativeContext::context() const

Returns the EGL context.

EGLDisplay QEGLNativeContext::display() const

Returns the EGL display.

© 2016 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.