Qt 4.8
|
#include "qdirectfbpaintengine.h"
#include "qdirectfbwindowsurface.h"
#include "qdirectfbscreen.h"
#include "qdirectfbpixmap.h"
#include <directfb.h>
#include <qtransform.h>
#include <qvarlengtharray.h>
#include <qcache.h>
#include <qmath.h>
#include <private/qpixmapdata_p.h>
#include <private/qpixmap_raster_p.h>
#include <private/qimagepixmapcleanuphooks_p.h>
Go to the source code of this file.
Classes | |
class | QDirectFBPaintEnginePrivate |
class | SurfaceCache |
Macros | |
#define | CLIPPED_PAINT(operation) |
#define | RASTERFALLBACK(op, one, two, three) |
#define | VOID_ARG() static_cast<bool>(false) |
Enumerations | |
enum | { RasterWarn = 1, RasterDisable = 2 } |
enum | PaintOperation { DRAW_RECTS = 0x0001, DRAW_LINES = 0x0002, DRAW_IMAGE = 0x0004, DRAW_PIXMAP = 0x0008, DRAW_TILED_PIXMAP = 0x0010, STROKE_PATH = 0x0020, DRAW_PATH = 0x0040, DRAW_POINTS = 0x0080, DRAW_ELLIPSE = 0x0100, DRAW_POLYGON = 0x0200, DRAW_TEXT = 0x0400, FILL_PATH = 0x0800, FILL_RECT = 0x1000, DRAW_COLORSPANS = 0x2000, DRAW_ROUNDED_RECT = 0x4000, DRAW_STATICTEXT = 0x8000, ALL = 0xffff } |
Functions | |
static uint | ALPHA_MUL (uint x, uint a) |
template<class T > | |
static void | drawLines (const T *lines, int n, const QTransform &transform, IDirectFBSurface *surface) |
template<class T > | |
static void | drawPoints (const T *points, int n, const QTransform &transform, IDirectFBSurface *surface) |
template<class T > | |
static void | drawRects (const T *rects, int n, const QTransform &transform, IDirectFBSurface *surface) |
template<class T > | |
static void | fillRects (const T *rects, int n, const QTransform &transform, IDirectFBSurface *surface) |
static qreal | fixCoord (qreal rect_pos, qreal pixmapSize, qreal offset) |
static QRect | map (const QTransform &transform, const QRect &rect) |
static QRect | map (const QTransform &transform, const QRectF &rect) |
static QLine | map (const QTransform &transform, const QLine &line) |
static QLine | map (const QTransform &transform, const QLineF &line) |
static QPoint | map (const QTransform &transform, const QPoint &point) |
static QPoint | map (const QTransform &transform, const QPointF &point) |
template<typename T > | |
const T * | ptr (const T &t) |
template<> | |
const bool * | ptr< bool > (const bool &) |
static uint | rasterFallbacksMask (PaintOperation op) |
template<typename device , typename T1 , typename T2 , typename T3 > | |
static void | rasterFallbackWarn (const char *msg, const char *func, const device *dev, QDirectFBPaintEnginePrivate *priv, const char *nameOne, const T1 &one, const char *nameTwo, const T2 &two, const char *nameThree, const T3 &three) |
#define CLIPPED_PAINT | ( | operation | ) |
Definition at line 320 of file qdirectfbpaintengine.cpp.
Referenced by QDirectFBPaintEngine::drawImage(), QDirectFBPaintEngine::drawLines(), QDirectFBPaintEngine::drawPixmap(), QDirectFBPaintEngine::drawPoints(), QDirectFBPaintEngine::drawRects(), QDirectFBPaintEngine::drawTiledPixmap(), and QDirectFBPaintEngine::fillRect().
#define RASTERFALLBACK | ( | op, | |
one, | |||
two, | |||
three | |||
) |
Definition at line 288 of file qdirectfbpaintengine.cpp.
Referenced by QDirectFBPaintEngine::drawEllipse(), QDirectFBPaintEngine::drawImage(), QDirectFBPaintEngine::drawLines(), QDirectFBPaintEngine::drawPath(), QDirectFBPaintEngine::drawPixmap(), QDirectFBPaintEngine::drawPoints(), QDirectFBPaintEngine::drawPolygon(), QDirectFBPaintEngine::drawRects(), QDirectFBPaintEngine::drawRoundedRect(), QDirectFBPaintEngine::drawStaticTextItem(), QDirectFBPaintEngine::drawTextItem(), QDirectFBPaintEngine::drawTiledPixmap(), QDirectFBPaintEngine::fill(), QDirectFBPaintEngine::fillRect(), and QDirectFBPaintEngine::stroke().
#define VOID_ARG | ( | ) | static_cast<bool>(false) |
Definition at line 183 of file qdirectfbpaintengine.cpp.
Referenced by QDirectFBPaintEngine::drawEllipse(), QDirectFBPaintEngine::drawLines(), QDirectFBPaintEngine::drawPath(), QDirectFBPaintEngine::drawPoints(), QDirectFBPaintEngine::drawPolygon(), QDirectFBPaintEngine::drawRects(), QDirectFBPaintEngine::drawStaticTextItem(), QDirectFBPaintEngine::drawTextItem(), QDirectFBPaintEngine::fill(), QDirectFBPaintEngine::fillRect(), and QDirectFBPaintEngine::stroke().
anonymous enum |
Enumerator | |
---|---|
RasterWarn | |
RasterDisable |
Definition at line 206 of file qdirectfbpaintengine.cpp.
enum PaintOperation |
Definition at line 184 of file qdirectfbpaintengine.cpp.
Definition at line 1138 of file qdirectfbpaintengine.cpp.
Referenced by QDirectFBPaintEnginePrivate::prepareForDraw().
|
inlinestatic |
Definition at line 1452 of file qdirectfbpaintengine.cpp.
Referenced by QPainter::drawLine(), QOpenGLPaintEngine::drawLines(), QPainter::drawLines(), QPaintEngine::setActive(), QOpenGLPaintEngine::state(), QRasterPaintEngine::state(), QPaintBufferEngine::type(), and QPdfBaseEngine::~QPdfBaseEngine().
|
inlinestatic |
Definition at line 1433 of file qdirectfbpaintengine.cpp.
Referenced by QCosmeticStroker::drawLine(), QOpenGLPaintEngine::drawLines(), QPainter::drawPoint(), QOpenGLPaintEngine::drawPoints(), QPaintEngine::drawPoints(), QPainter::drawPoints(), QPaintEngine::setActive(), QOpenGLPaintEngine::state(), QRasterPaintEngine::state(), QPainter::testRenderHint(), QPaintBufferEngine::type(), and QPdfBaseEngine::~QPdfBaseEngine().
|
inlinestatic |
Definition at line 1490 of file qdirectfbpaintengine.cpp.
Referenced by QRasterPaintEngine::drawPolygon(), QPainter::drawRect(), QOpenGLPaintEngine::drawRects(), QPainter::drawRects(), QOpenGLPaintEngine::fill(), QPaintEngine::setActive(), QOpenGLPaintEngine::state(), QRasterPaintEngine::state(), QPaintBufferEngine::type(), and QPdfBaseEngine::~QPdfBaseEngine().
|
inlinestatic |
Definition at line 1471 of file qdirectfbpaintengine.cpp.
Definition at line 1240 of file qdirectfbpaintengine.cpp.
Referenced by QDirectFBPaintEnginePrivate::drawTiledPixmap().
|
inlinestatic |
Definition at line 1425 of file qdirectfbpaintengine.cpp.
Referenced by drawLines(), drawPoints(), drawRects(), and fillRects().
|
inlinestatic |
Definition at line 1426 of file qdirectfbpaintengine.cpp.
|
inlinestatic |
Definition at line 1427 of file qdirectfbpaintengine.cpp.
|
inlinestatic |
Definition at line 1428 of file qdirectfbpaintengine.cpp.
|
inlinestatic |
Definition at line 1429 of file qdirectfbpaintengine.cpp.
|
inlinestatic |
Definition at line 1430 of file qdirectfbpaintengine.cpp.
|
inline |
Definition at line 1498 of file qdirectfbpaintengine.cpp.
Referenced by _decOctet(), _fragment(), _getWord0(), _getWord1(), _HEXDIG(), _hierPart(), _host(), _IPLiteral(), _IPv4Address(), _IPv6Address(), _IPvFuture(), _ls32(), _pctEncoded(), _port(), QProcessPrivate::_q_canReadStandardError(), QProcessPrivate::_q_canReadStandardOutput(), _q_ia64_fetchadd_immediate(), QHttpPrivate::_q_slotReadyRead(), _query(), _scheme(), _setWord0(), _setWord1(), _subDelims(), _unreserved(), _userInfo(), QNetworkManagerEngine::activationFinished(), QNetworkManagerEngine::activeConnectionPropertiesChanged(), QIcdEngine::addConfiguration(), QConnmanEngine::addServiceConfiguration(), QNetworkConfigurationManagerPrivate::allConfigurations(), QNetworkInterfaceManager::allInterfaces(), QHashData::allocateNode(), QPMCache::allPixmaps(), buttonChange(), QNetworkManagerEngine::bytesReceived(), QNetworkManagerEngine::bytesWritten(), QVariant::canConvert(), QUrlPrivate::canonicalHost(), QMetaObject::changeGuard(), QNetworkConfigurationManagerPrivate::configurationAdded(), QConnmanEngine::configurationChange(), QNetworkConfigurationManagerPrivate::configurationChanged(), QNetworkConfigurationManagerPrivate::configurationRemoved(), QIcdEngine::connectionStateSignalsSlot(), QCoreWlanEngine::connectToId(), connManager(), construct(), QScriptEngine::convert(), convertFlags(), QCP949Codec::convertFromUnicode(), QScriptEnginePrivate::convertNumber(), QScriptEnginePrivate::convertString(), QScriptEnginePrivate::convertValue(), QScriptEnginePrivate::create(), createInterfaces(), QNetworkConfigurationManagerPrivate::defaultConfiguration(), QIcdEngine::deleteConfiguration(), QDBusConnectionPrivate::deliverCall(), QLocalSocketPrivate::destroyPipeHandles(), QAxBasePrivate::dispatch(), QTranslatorPrivate::do_load(), QGenericEngine::doRequestUpdate(), QIcdEngine::doRequestUpdate(), downloadBufferDeleter(), QGraphicsScenePrivate::draw(), QPaintEngineEx::drawEllipse(), QIcdEngine::ensureDBusConnection(), QPixmapCache::find(), QAbstractSocketPrivate::flush(), QScanThread::foundNetwork(), QScriptEngine::fromScriptValue(), QScriptEnginePrivate::get(), QIcdEngine::getIcdInitialState(), QIcdEngine::icdServiceOwnerChanged(), QRingBuffer< T >::indexOf(), QXcbConnection::initializeAllAtoms(), QTestLiteStaticInfoPrivate::initializeAllAtoms(), interfaceListing(), interfaceListingWin2k(), interfaceListingWinXP(), QNetworkManagerEngine::interfacePropertiesChanged(), QtSharedPointer::internalSafetyCheckRemove(), ipv4Netmasks(), QBasicAtomicPointer< QBrushData >::isFetchAndAddWaitFree(), QOCIResult::lastInsertId(), QFSFileEnginePrivate::longFileName(), QFSFileEnginePrivate::map(), myalloc(), QFSFileEnginePrivate::nativeRead(), QFSFileEnginePrivate::nativeWrite(), QCoreWlanEngine::networksChanged(), QNlaEngine::networksChanged(), QNetworkManagerEngine::newAccessPoint(), QNetworkManagerEngine::newConnection(), QPMCache::object(), QScriptValuePrivate::operator delete(), QExplicitlySharedDataPointer< QSslConfigurationPrivate >::operator!=(), QModelIndex::operator<(), QExplicitlySharedDataPointer< QSslConfigurationPrivate >::operator==(), QTextStream::operator>>(), QTest::outputMessage(), QUrlPrivate::parse(), QNetworkManagerEngine::parseConnection(), QDirectFBWindowSurface::permanentState(), QWSLocalMemSurface::permanentState(), QWSSharedMemSurface::permanentState(), QWSOnScreenSurface::permanentState(), QWSYellowSurface::permanentState(), QRingBuffer< T >::putChar(), q_strchr(), QAxBasePrivate::QAxBasePrivate(), qdbus_resolve_me(), qFieldSerial(), qFreeAligned(), qGetPtrHelper(), qIterGet(), qPixmapSerial(), qt_atomic_tasb(), qt_load_library_runtime(), qt_message_output(), qt_socks5_set_host_address_and_port(), qt_socks5_set_host_name_and_port(), qt_x11_create_intern_atoms(), rasterFallbackWarn(), QRfbDualColorHextile< SRC >::read(), QRingBuffer< T >::read(), QRfbMultiColorHextile< SRC >::read(), QAbstractSocket::readData(), QProcess::readData(), QAbstractSocketPrivate::readFromSocket(), QRfbMultiColorHextile< SRC >::rectx(), QRfbMultiColorHextile< SRC >::recty(), QFactoryLoader::refreshAll(), QDeclarativeEnginePrivate::registerCompositeType(), QDynamicFileResourceRoot::registerSelf(), QNetworkManagerEngine::removeAccessPoint(), QBBEngine::removeConfiguration(), QConnmanEngine::removeConfiguration(), QNetworkManagerEngine::removeConnection(), QMetaObject::removeGuard(), QNativeWifiEngine::scanComplete(), QScript::scriptableFromQObject(), QTest::sendKeyEvent(), QGenericEngine::sessionStateForId(), QBBEngine::sessionStateForId(), QCoreWlanEngine::sessionStateForId(), QNativeWifiEngine::sessionStateForId(), QNetworkManagerEngine::sessionStateForId(), QConnmanEngine::sessionStateForId(), QNlaEngine::sessionStateForId(), QDBusContextPrivate::set(), QNetmaskAddress::setAddress(), QWSRegionCommand::setData(), QPluginLoader::setFileName(), QRfbMultiColorHextile< SRC >::setHeight(), QDirectFBWindowSurface::setPermanentState(), QWSLocalMemSurface::setPermanentState(), QWSSharedMemSurface::setPermanentState(), QWSOnScreenSurface::setPermanentState(), QWSYellowSurface::setPermanentState(), QNetworkSessionPrivate::setPrivateConfiguration(), QRfbMultiColorHextile< SRC >::setWidth(), QRfbMultiColorHextile< SRC >::setX(), QRfbMultiColorHextile< SRC >::setY(), QLocalSocketPrivate::startAsyncRead(), QNetworkSessionPrivateImpl::syncStateWithInterface(), QDBusDemarshaller::toVariantInternal(), QSslSocketBackendPrivate::transmit(), QFSFileEnginePrivate::unmap(), QNetworkManagerEngine::updateAccessPoint(), QBBEngine::updateConfiguration(), QNetworkManagerEngine::updateConnection(), voidptr_destructor(), QOstDevice::writeData(), QAbstractSocket::writeData(), and QAxBasePrivate::~QAxBasePrivate().
|
inline |
Definition at line 1499 of file qdirectfbpaintengine.cpp.
|
inlinestatic |
Definition at line 207 of file qdirectfbpaintengine.cpp.
|
static |
Definition at line 1501 of file qdirectfbpaintengine.cpp.
Referenced by rasterFallbacksMask().