QtBase
v6.3.1
|
The QRasterPaintEngine class enables hardware acceleration of painting operations in Qt for Embedded Linux. More...
#include <qpaintengine_raster_p.h>
Protected Member Functions | |
QRasterPaintEngine (QRasterPaintEnginePrivate &d, QPaintDevice *) | |
Protected Member Functions inherited from QPaintEngineEx | |
QPaintEngineEx (QPaintEngineExPrivate &data) | |
Protected Member Functions inherited from QPaintEngine | |
QPaintEngine (QPaintEnginePrivate &data, PaintEngineFeatures devcaps=PaintEngineFeatures()) | |
Friends | |
struct | QSpanData |
class | QBlitterPaintEngine |
class | QBlitterPaintEnginePrivate |
Related Functions | |
(Note that these are not member functions.) | |
QSpan | |
Additional Inherited Members | |
Protected Attributes inherited from QPaintEngine | |
QPaintEngineState * | state |
PaintEngineFeatures | gccaps |
uint | active: 1 |
uint | selfDestruct: 1 |
uint | extended: 1 |
QScopedPointer< QPaintEnginePrivate > | d_ptr |
The QRasterPaintEngine class enables hardware acceleration of painting operations in Qt for Embedded Linux.
\preliminary
\inmodule QtGui
Note that this functionality is only available in Qt for Embedded Linux.
In Qt for Embedded Linux, painting is a pure software implementation. But starting with Qt 4.2, it is possible to add an accelerated graphics driver to take advantage of available hardware resources.
Hardware acceleration is accomplished by creating a custom screen driver, accelerating the copying from memory to the screen, and implementing a custom paint engine accelerating the various painting operations. Then a custom paint device and a custom window surface must be implemented to make Qt for Embedded Linux aware of the accelerated driver.
Definition at line 129 of file qpaintengine_raster_p.h.
Enumerator | |
---|---|
RectClip | |
ComplexClip |
Definition at line 202 of file qpaintengine_raster_p.h.
QRasterPaintEngine::QRasterPaintEngine | ( | QPaintDevice * | device | ) |
Creates a raster based paint engine for operating on the given device, with the complete set of \l {QPaintEngine::PaintEngineFeature}{paint engine features and capabilities}.
Definition at line 332 of file qpaintengine_raster.cpp.
QRasterPaintEngine::~QRasterPaintEngine | ( | ) |
Destroys this paint engine.
Definition at line 422 of file qpaintengine_raster.cpp.
|
protected |
Definition at line 342 of file qpaintengine_raster.cpp.
|
overridevirtual |
\reimp
Implements QPaintEngine.
Definition at line 432 of file qpaintengine_raster.cpp.
|
overridevirtual |
Implements QPaintEngineEx.
Definition at line 735 of file qpaintengine_raster.cpp.
|
overridevirtual |
Implements QPaintEngineEx.
Definition at line 721 of file qpaintengine_raster.cpp.
|
overridevirtual |
Reimplemented from QPaintEngineEx.
Definition at line 1241 of file qpaintengine_raster.cpp.
|
overridevirtual |
Reimplemented from QPaintEngineEx.
Definition at line 1317 of file qpaintengine_raster.cpp.
|
overridevirtual |
Implements QPaintEngineEx.
Definition at line 1167 of file qpaintengine_raster.cpp.
QRectF QRasterPaintEngine::clipBoundingRect | ( | ) | const |
Definition at line 3516 of file qpaintengine_raster.cpp.
Definition at line 476 of file qpaintengine_raster_p.h.
|
overridevirtual |
Implements QPaintEngineEx.
Definition at line 887 of file qpaintengine_raster.cpp.
QRasterPaintEngine::ClipType QRasterPaintEngine::clipType | ( | ) | const |
Definition at line 3501 of file qpaintengine_raster.cpp.
|
overridevirtual |
Implements QPaintEngineEx.
Definition at line 814 of file qpaintengine_raster.cpp.
|
overridevirtual |
Reimplemented from QPaintEngine.
Definition at line 3398 of file qpaintengine_raster.cpp.
|
overridevirtual |
Reimplemented from QPaintEngineEx.
Definition at line 593 of file qpaintengine_raster.cpp.
|
virtual |
Reimplemented in QBlitterPaintEngine.
Definition at line 2795 of file qpaintengine_raster.cpp.
\reimp
Reimplemented from QPaintEngineEx.
Definition at line 3304 of file qpaintengine_raster.cpp.
Reimplemented from QPaintEngineEx.
Definition at line 2129 of file qpaintengine_raster.cpp.
|
overridevirtual |
\reimp
Implements QPaintEngineEx.
Definition at line 2232 of file qpaintengine_raster.cpp.
\reimp
Reimplemented from QPaintEngineEx.
Definition at line 3201 of file qpaintengine_raster.cpp.
\reimp
Reimplemented from QPaintEngineEx.
Definition at line 3278 of file qpaintengine_raster.cpp.
Reimplemented from QPaintEngineEx.
Definition at line 2021 of file qpaintengine_raster.cpp.
|
overridevirtual |
\reimp
Implements QPaintEngineEx.
Definition at line 2062 of file qpaintengine_raster.cpp.
Draws the first pointCount points in the buffer points
The default implementation converts the first pointCount QPoints in points to QPointFs and calls the floating point version of drawPoints.
Reimplemented from QPaintEngineEx.
Definition at line 3180 of file qpaintengine_raster.cpp.
\reimp
Reimplemented from QPaintEngineEx.
Definition at line 3161 of file qpaintengine_raster.cpp.
|
overridevirtual |
\reimp
Reimplemented from QPaintEngineEx.
Definition at line 1957 of file qpaintengine_raster.cpp.
|
overridevirtual |
\reimp
Reimplemented from QPaintEngineEx.
Definition at line 1916 of file qpaintengine_raster.cpp.
\reimp
Reimplemented from QPaintEngineEx.
Definition at line 1482 of file qpaintengine_raster.cpp.
|
overridevirtual |
\reimp
Reimplemented from QPaintEngineEx.
Definition at line 3063 of file qpaintengine_raster.cpp.
|
overridevirtual |
\reimp
Reimplemented from QPaintEngine.
Definition at line 3099 of file qpaintengine_raster.cpp.
|
overridevirtual |
\reimp
Reimplemented from QPaintEngineEx.
Definition at line 2481 of file qpaintengine_raster.cpp.
|
overridevirtual |
\reimp
Implements QPaintEngine.
Definition at line 508 of file qpaintengine_raster.cpp.
|
overridevirtual |
Implements QPaintEngineEx.
Definition at line 1677 of file qpaintengine_raster.cpp.
|
virtual |
Reimplemented in QBlitterPaintEngine.
Definition at line 1378 of file qpaintengine_raster.cpp.
|
virtual |
Reimplemented in QBlitterPaintEngine.
Definition at line 1882 of file qpaintengine_raster.cpp.
\reimp
Reimplemented from QPaintEngineEx.
Definition at line 1786 of file qpaintengine_raster.cpp.
\reimp
Reimplemented from QPaintEngineEx.
Definition at line 1803 of file qpaintengine_raster.cpp.
|
overridevirtual |
Implements QPaintEngineEx.
Definition at line 796 of file qpaintengine_raster.cpp.
|
overridevirtual |
Implements QPaintEngineEx.
Definition at line 632 of file qpaintengine_raster.cpp.
QRasterBuffer * QRasterPaintEngine::rasterBuffer | ( | ) |
Definition at line 2559 of file qpaintengine_raster.cpp.
|
overridevirtual |
Implements QPaintEngineEx.
Definition at line 835 of file qpaintengine_raster.cpp.
|
overridevirtual |
Reimplemented from QPaintEngineEx.
Definition at line 3364 of file qpaintengine_raster.cpp.
|
overridevirtual |
Reimplemented from QPaintEngineEx.
Definition at line 607 of file qpaintengine_raster.cpp.
|
overridevirtual |
Returns whether glyph caching is supported by the font engine fontEngine with the given transform m applied.
Reimplemented from QPaintEngineEx.
Definition at line 3378 of file qpaintengine_raster.cpp.
|
inline |
Definition at line 150 of file qpaintengine_raster_p.h.
|
inline |
|
overridevirtual |
Reimplemented from QPaintEngineEx.
Definition at line 1588 of file qpaintengine_raster.cpp.
|
overridevirtual |
Implements QPaintEngineEx.
Definition at line 867 of file qpaintengine_raster.cpp.
|
inlineoverridevirtual |
Reimplement this function to return the paint engine \l{Type}.
Implements QPaintEngine.
Definition at line 219 of file qpaintengine_raster_p.h.
void QRasterPaintEngine::updateMatrix | ( | const QTransform & | matrix | ) |
|
friend |
Definition at line 230 of file qpaintengine_raster_p.h.
|
friend |
Definition at line 231 of file qpaintengine_raster_p.h.
|
related |
A struct equivalent to QT_FT_Span, containing a position (x, y), the span's length in pixels and its color/coverage (a value ranging from 0 to 255).
Definition at line 97 of file qdrawhelper_p.h.
|
friend |
Definition at line 229 of file qpaintengine_raster_p.h.