50 , mWaylandEglWindow(0)
QWaylandEglIntegration * mEglIntegration
struct wl_surface * mSurface
int width() const
Returns the width of the rectangle.
int height() const
Returns the height of the rectangle.
QWaylandEglWindow(QWidget *window)
NativeWindowType EGLNativeWindowType
int width() const
Returns the width.
void setEglSurface(EGLSurface surface)
wl_visual * visual() const
struct wl_egl_window * mWaylandEglWindow
QSize size() const
Returns the size of the rectangle.
QWaylandGLContext * mGLContext
EGLConfig eglConfig() const
void setGeometry(const QRect &rect)
This function is called by Qt whenever a window is moved or the window is resized.
The QPlatformGLContext class provides an abstraction for native GL contexts.
void setParent(const QPlatformWindow *parent)
This function is called to enable native child widgets in QPA.
const QWaylandWindow * mParentWindow
int height() const
Returns the height.
The QRect class defines a rectangle in the plane using integer precision.
bool isValid() const
Returns true if both the width and height is equal to or greater than 0; otherwise returns false...
QPlatformGLContext * glContext() const
Reimplement to return the glContext associated with the window.
WindowType windowType() const
The QSize class defines the size of a two-dimensional object using integer point precision.
QWaylandDisplay * mDisplay
static QWaylandScreen * waylandScreenFromWidget(QWidget *widget)
EGLDisplay eglDisplay() const