Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QDirectFbConvenience Class Reference

#include <qdirectfbconvenience.h>

+ Collaboration diagram for QDirectFbConvenience:

Static Public Member Functions

static QImage::Format imageFormatFromSurfaceFormat (const DFBSurfacePixelFormat format, const DFBSurfaceCapabilities caps)
 
static bool pixelFomatHasAlpha (const DFBSurfacePixelFormat format)
 
static int colorDepthForSurface (const DFBSurfacePixelFormat format)
 
static IDirectFB * dfbInterface ()
 
static IDirectFBDisplayLayer * dfbDisplayLayer (int display=DLID_PRIMARY)
 
static IDirectFBSurface * dfbSurfaceForPlatformPixmap (QPlatformPixmap *)
 
static Qt::MouseButton mouseButton (DFBInputDeviceButtonIdentifier identifier)
 
static Qt::MouseButtons mouseButtons (DFBInputDeviceButtonMask mask)
 
static Qt::KeyboardModifiers keyboardModifiers (DFBInputDeviceModifierMask mask)
 
static QEvent::Type eventType (DFBWindowEventType type)
 
static QDirectFbKeyMapkeyMap ()
 

Friends

class QDirectFbIntegration
 

Detailed Description

Definition at line 26 of file qdirectfbconvenience.h.

Member Function Documentation

◆ colorDepthForSurface()

int QDirectFbConvenience::colorDepthForSurface ( const DFBSurfacePixelFormat format)
static

Definition at line 71 of file qdirectfbconvenience.cpp.

Referenced by QDirectFbScreen::QDirectFbScreen().

+ Here is the caller graph for this function:

◆ dfbDisplayLayer()

IDirectFBDisplayLayer * QDirectFbConvenience::dfbDisplayLayer ( int display = DLID_PRIMARY)
static

Definition at line 28 of file qdirectfbconvenience.cpp.

References dfbInterface().

+ Here is the call graph for this function:

◆ dfbInterface()

QT_BEGIN_NAMESPACE IDirectFB * QDirectFbConvenience::dfbInterface ( )
static

Definition at line 15 of file qdirectfbconvenience.cpp.

Referenced by QDirectFbBlitter::QDirectFbBlitter(), dfbDisplayLayer(), QDirectFbBlitter::drawCachedGlyphs(), QDirectFbIntegration::initializeDirectFB(), QDirectFbWindow::setVisible(), and QDirectFbTextureGlyphCache::sourceSurface().

+ Here is the caller graph for this function:

◆ dfbSurfaceForPlatformPixmap()

IDirectFBSurface * QDirectFbConvenience::dfbSurfaceForPlatformPixmap ( QPlatformPixmap * handle)
static

This is borrowing the reference of the QDirectFbBlitter. You may not store this pointer as a class member but must only use it locally.

Definition at line 80 of file qdirectfbconvenience.cpp.

References QScopedPointer< T, Cleanup >::data(), and QDirectFbBlitter::m_surface.

Referenced by QDirectFBCursor::changeCursor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ eventType()

QEvent::Type QDirectFbConvenience::eventType ( DFBWindowEventType type)
static

◆ imageFormatFromSurfaceFormat()

QImage::Format QDirectFbConvenience::imageFormatFromSurfaceFormat ( const DFBSurfacePixelFormat format,
const DFBSurfaceCapabilities caps )
static

◆ keyboardModifiers()

Qt::KeyboardModifiers QDirectFbConvenience::keyboardModifiers ( DFBInputDeviceModifierMask mask)
static

◆ keyMap()

QDirectFbKeyMap * QDirectFbConvenience::keyMap ( )
static

Definition at line 215 of file qdirectfbconvenience.cpp.

◆ mouseButton()

◆ mouseButtons()

Qt::MouseButtons QDirectFbConvenience::mouseButtons ( DFBInputDeviceButtonMask mask)
static

◆ pixelFomatHasAlpha()

static bool QDirectFbConvenience::pixelFomatHasAlpha ( const DFBSurfacePixelFormat format)
inlinestatic

Definition at line 30 of file qdirectfbconvenience.h.

Friends And Related Symbol Documentation

◆ QDirectFbIntegration

friend class QDirectFbIntegration
friend

Definition at line 48 of file qdirectfbconvenience.h.


The documentation for this class was generated from the following files: