5#ifndef QDIRECTFBBLITTER_H
6#define QDIRECTFBBLITTER_H
10#include <private/qblittable_p.h>
23 void fillRect(
const QRectF &rect,
const QColor &color)
override;
24 void drawPixmap(
const QRectF &rect,
const QPixmap &pixmap,
const QRectF &subrect)
override;
25 void alphaFillRect(
const QRectF &rect,
const QColor &color, QPainter::CompositionMode cmode)
override;
27 const QPixmap &pixmap,
28 const QRectF &subrect,
29 QPainter::CompositionMode cmode,
30 qreal opacity)
override;
32 QFontEngine::GlyphFormat glyphFormat,
34 const glyph_t *glyphs,
35 const QFixedPoint *positions,
36 QFontEngine *fontEngine)
override;
54 void drawDebugRect(
const QRect &rect,
const QColor &color);
67 bool fromFile(
const QString &filename,
const char *format,
68 Qt::ImageConversionFlags flags)
override;
71 bool fromDataBufferDescription(
const DFBDataBufferDescription &);
86 return m_surface.data();
101 QDirectFBPointer<IDirectFBSurface> m_surface;
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.
virtual ~QDirectFbBlitter()
static DFBSurfacePixelFormat selectPixmapFormat(bool withAlpha)
bool drawCachedGlyphs(const QPaintEngineState *state, QFontEngine::GlyphFormat glyphFormat, int numGlyphs, const glyph_t *glyphs, const QFixedPoint *positions, QFontEngine *fontEngine) override
IDirectFBSurface * dfbSurface() const
void alphaFillRect(const QRectF &rect, const QColor &color, QPainter::CompositionMode cmode) override
QDirectFbBlitter(const QSize &size, bool alpha)
QDirectFbBlitter(const QSize &size, IDirectFBSurface *surface)
static DFBSurfacePixelFormat pixmapFormat()
QImage * doLock() override
QDirectFBPointer< IDirectFBSurface > m_surface
void drawPixmapOpacity(const QRectF &rect, const QPixmap &pixmap, const QRectF &subrect, QPainter::CompositionMode cmode, qreal opacity) override
static DFBSurfacePixelFormat alphaPixmapFormat()
void fillRect(const QRectF &rect, const QColor &color) override
void drawPixmap(const QRectF &rect, const QPixmap &pixmap, const QRectF &subrect) override
void resizeTextureData(int width, int height) override
QDirectFbTextureGlyphCache(QFontEngine::GlyphFormat format, const QTransform &matrix)
IDirectFBSurface * sourceSurface()
static void scrollSurface(IDirectFBSurface *surface, const QRect &r, int dx, int dy)