5#ifndef QWINDOWSURFACE_DIRECTFB_H
6#define QWINDOWSURFACE_DIRECTFB_H
8#include <qpa/qplatformbackingstore.h>
9#include <private/qpixmap_blitter_p.h>
23 void flush(QWindow *window,
const QRegion ®ion,
const QPoint &offset)
override;
24 void resize (
const QSize &size,
const QRegion &staticContents)
override;
25 bool scroll(
const QRegion &area,
int dx,
int dy)
override;
30 void lockSurfaceToImage();
32 QScopedPointer<QPixmap> m_pixmap;
33 QBlittablePlatformPixmap *m_pmdata;
34 QDirectFBPointer<IDirectFBSurface> m_dfbSurface;
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
void resize(const QSize &size, const QRegion &staticContents) override
QDirectFbBackingStore(QWindow *window)
QImage toImage() const override
Implemented in subclasses to return the content of the backingstore as a QImage.
void flush(QWindow *window, const QRegion ®ion, const QPoint &offset) override
Flushes the given region from the specified window.
bool scroll(const QRegion &area, int dx, int dy) override
Scrolls the given area dx pixels to the right and dy downward; both dx and dy may be negative.
static void scrollSurface(IDirectFBSurface *surface, const QRect &r, int dx, int dy)