19#include <qpa/qplatformcursor.h>
20#include <qpa/qplatformscreen.h>
21#include <QtOpenGL/QOpenGLShaderProgram>
22#include <QtGui/QMatrix4x4>
23#include <QtGui/private/qinputdevicemanager_p.h>
25#include <QtCore/qlist.h>
45 QEglFSCursor *m_cursor;
50struct QEglFSCursorData {
54 uint customCursorTexture = 0;
55 uint atlasTexture = 0;
56 qint64 customCursorKey = 0;
73 QRect cursorRect()
const;
75 void resetResources();
77 void updateMouseStatus();
85 void update(
const QRect &
rect,
bool allScreens);
86 void createShaderPrograms();
88 void initCursorAtlas();
99 bool customCursorPending;
101 bool useCustomCursor;
106 CursorAtlas() : cursorsPerRow(0), cursorWidth(0), cursorHeight(0) { }
109 int cursorWidth, cursorHeight;
118 bool m_updateRequested;
The QCursor class provides a mouse cursor with an arbitrary shape.
QEglFSCursorDeviceListener(QEglFSCursor *cursor)
void onDeviceListChanged(QInputDeviceManager::DeviceType type)
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
The QOpenGLShaderProgram class allows OpenGL shader programs to be linked and used.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
GLint GLsizei GLsizei height
GLenum GLuint GLintptr GLsizeiptr size
[1]
myFilter draw(painter, QPoint(0, 0), originalPixmap)