3#ifndef QQnxWindowGrabber_H
4#define QQnxWindowGrabber_H
17#define EGL_EGLEXT_PROTOTYPES
18#define GL_GLEXT_PROTOTYPES
21#include <GLES2/gl2ext.h>
22#include <EGL/eglext.h>
23#include <QAbstractNativeEventFilter>
30#include <screen/screen.h>
48 unsigned char *
data =
nullptr;
90 void checkForEglImageExtension();
96 screen_window_t m_windowParent;
97 screen_window_t m_window;
98 screen_context_t m_screenContext;
100 std::unique_ptr<QQnxWindowGrabberImage> m_frontBuffer;
101 std::unique_ptr<QQnxWindowGrabberImage> m_backBuffer;
108 bool m_eglImageSupported;
QObject * parent() const
Returns a pointer to the parent object.
bool isEglImageSupported() const
bool nativeEventFilter(const QByteArray &eventType, void *message, qintptr *result) override
This method is called for every native event.
BufferView getNextBuffer()
void setWindowId(const QByteArray &windowId)
bool handleScreenEvent(screen_event_t event)
QByteArray windowGroupId() const
void updateScene(const QSize &size)
void setFrameRate(int frameRate)
Combined button and popup list for selecting options.
GLint GLsizei GLsizei height
GLenum GLuint GLintptr GLsizeiptr size
[1]
const void GLsizei GLsizei stride
GLuint GLsizei const GLchar * message
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
static constexpr int pixelSize