42 #ifndef QSCREENLINUXFB_QWS_H 43 #define QSCREENLINUXFB_QWS_H 45 #include <QtGui/qscreen_qws.h> 48 struct fb_var_screeninfo;
49 struct fb_fix_screeninfo;
58 #ifndef QT_NO_QWS_LINUXFB 74 volatile unsigned int rop;
86 virtual bool initDevice();
87 virtual bool connect(
const QString &displaySpec);
89 virtual bool useOffscreen();
93 virtual void disconnect();
94 virtual void shutdownDevice();
95 virtual void setMode(
int,
int,
int);
97 virtual void restore();
98 virtual void blank(
bool on);
99 virtual void set(
unsigned int,
unsigned int,
unsigned int,
unsigned int);
100 virtual uchar * cache(
int);
101 virtual void uncache(
uchar *);
102 virtual int sharedRamSize(
void *);
103 virtual void setDirty(
const QRect&);
109 void deleteEntry(
uchar *);
115 virtual void fixupScreenInfo(fb_fix_screeninfo &finfo, fb_var_screeninfo &vinfo);
116 static void clearCache(
QScreen *instance,
int);
120 void delete_entry(
int);
121 void insert_entry(
int,
int,
int);
122 void setupOffScreen();
123 void createPalette(fb_cmap &
cmap, fb_var_screeninfo &vinfo, fb_fix_screeninfo &finfo);
124 void setPixelFormat(
struct fb_var_screeninfo);
129 #endif // QT_NO_QWS_LINUXFB 135 #endif // QSCREENLINUXFB_QWS_H QLinuxFbScreenPrivate * d_ptr
#define QT_END_NAMESPACE
This macro expands to.
DriverTypes
This enum describes the driver type.
volatile unsigned int rop
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRect class defines a rectangle in the plane using integer precision.
The QScreen class is a base class for screen drivers in Qt for Embedded Linux.
volatile unsigned int buffer_offset
The QLinuxFbScreen class implements a screen driver for the Linux framebuffer.