Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QXcbBackingStoreImage Class Reference
Inheritance diagram for QXcbBackingStoreImage:
Collaboration diagram for QXcbBackingStoreImage:

Public Member Functions

 QXcbBackingStoreImage (QXcbBackingStore *backingStore, const QSize &size)
 QXcbBackingStoreImage (QXcbBackingStore *backingStore, const QSize &size, uint depth, QImage::Format format)
 ~QXcbBackingStoreImage ()
void resize (const QSize &size)
void flushScrolledRegion (bool clientSideScroll)
bool scroll (const QRegion &area, int dx, int dy)
QImageimage ()
QPlatformGraphicsBuffergraphicsBuffer ()
QSize size () const
bool hasAlpha () const
bool hasShm () const
void put (xcb_drawable_t dst, const QRegion &region, const QPoint &offset)
void preparePaint (const QRegion &region)
 QXcbBackingStoreImage (QXcbBackingStore *backingStore, const QSize &size)
 QXcbBackingStoreImage (QXcbBackingStore *backingStore, const QSize &size, uint depth, QImage::Format format)
 ~QXcbBackingStoreImage ()
void resize (const QSize &size)
void flushScrolledRegion (bool clientSideScroll)
bool scroll (const QRegion &area, int dx, int dy)
QImageimage ()
QPlatformGraphicsBuffergraphicsBuffer ()
QSize size () const
bool hasAlpha () const
bool hasShm () const
void put (xcb_drawable_t dst, const QRegion &region, const QPoint &offset)
void preparePaint (const QRegion &region)
Public Member Functions inherited from QXcbObject
 QXcbObject (QXcbConnection *connection=nullptr)
void setConnection (QXcbConnection *connection)
QXcbConnectionconnection () const
xcb_atom_t atom (QXcbAtom::Atom atom) const
xcb_connection_t * xcb_connection () const

Static Public Member Functions

static bool createSystemVShmSegment (xcb_connection_t *c, size_t segmentSize=1, xcb_shm_segment_info_t *shm_info=nullptr)
static bool createSystemVShmSegment (xcb_connection_t *c, size_t segmentSize=1, xcb_shm_segment_info_t *shm_info=nullptr)

Detailed Description

Definition at line 42 of file qxcbbackingstore.cpp.

Constructor & Destructor Documentation

◆ QXcbBackingStoreImage() [1/4]

QXcbBackingStoreImage::QXcbBackingStoreImage ( QXcbBackingStore * backingStore,
const QSize & size )

Definition at line 153 of file qxcbbackingstore.cpp.

References QXcbObject::connection().

Here is the call graph for this function:

◆ QXcbBackingStoreImage() [2/4]

QXcbBackingStoreImage::QXcbBackingStoreImage ( QXcbBackingStore * backingStore,
const QSize & size,
uint depth,
QImage::Format format )

Definition at line 161 of file qxcbbackingstore.cpp.

References QXcbObject::connection().

Here is the call graph for this function:

◆ ~QXcbBackingStoreImage() [1/2]

QXcbBackingStoreImage::~QXcbBackingStoreImage ( )
inline

Definition at line 47 of file qxcbbackingstore.cpp.

◆ QXcbBackingStoreImage() [3/4]

QXcbBackingStoreImage::QXcbBackingStoreImage ( QXcbBackingStore * backingStore,
const QSize & size )

◆ QXcbBackingStoreImage() [4/4]

QXcbBackingStoreImage::QXcbBackingStoreImage ( QXcbBackingStore * backingStore,
const QSize & size,
uint depth,
QImage::Format format )

◆ ~QXcbBackingStoreImage() [2/2]

QXcbBackingStoreImage::~QXcbBackingStoreImage ( )
inline

Definition at line 47 of file qxcbbackingstore.cpp.

Member Function Documentation

◆ createSystemVShmSegment() [1/2]

bool QXcbBackingStoreImage::createSystemVShmSegment ( xcb_connection_t * c,
size_t segmentSize = 1,
xcb_shm_segment_info_t * shm_info = nullptr )
static

Definition at line 371 of file qxcbbackingstore.cpp.

◆ createSystemVShmSegment() [2/2]

bool QXcbBackingStoreImage::createSystemVShmSegment ( xcb_connection_t * c,
size_t segmentSize = 1,
xcb_shm_segment_info_t * shm_info = nullptr )
static

◆ flushScrolledRegion() [1/2]

void QXcbBackingStoreImage::flushScrolledRegion ( bool clientSideScroll)

Definition at line 272 of file qxcbbackingstore.cpp.

References QXcbObject::connection().

Referenced by QXcbBackingStore::flush(), QXcbBackingStore::rhiFlush(), and QXcbBackingStore::toImage().

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

◆ flushScrolledRegion() [2/2]

void QXcbBackingStoreImage::flushScrolledRegion ( bool clientSideScroll)

◆ graphicsBuffer() [1/2]

QPlatformGraphicsBuffer * QXcbBackingStoreImage::graphicsBuffer ( )
inline

Definition at line 56 of file qxcbbackingstore.cpp.

◆ graphicsBuffer() [2/2]

QPlatformGraphicsBuffer * QXcbBackingStoreImage::graphicsBuffer ( )
inline

Definition at line 56 of file qxcbbackingstore.cpp.

◆ hasAlpha() [1/2]

bool QXcbBackingStoreImage::hasAlpha ( ) const
inline

Definition at line 60 of file qxcbbackingstore.cpp.

Referenced by QXcbBackingStore::beginPaint().

Here is the caller graph for this function:

◆ hasAlpha() [2/2]

bool QXcbBackingStoreImage::hasAlpha ( ) const
inline

Definition at line 60 of file qxcbbackingstore.cpp.

◆ hasShm() [1/2]

bool QXcbBackingStoreImage::hasShm ( ) const
inline

Definition at line 61 of file qxcbbackingstore.cpp.

Referenced by preparePaint(), put(), and scroll().

Here is the caller graph for this function:

◆ hasShm() [2/2]

bool QXcbBackingStoreImage::hasShm ( ) const
inline

Definition at line 61 of file qxcbbackingstore.cpp.

◆ image() [1/2]

QImage * QXcbBackingStoreImage::image ( )
inline

Definition at line 55 of file qxcbbackingstore.cpp.

◆ image() [2/2]

QImage * QXcbBackingStoreImage::image ( )
inline

Definition at line 55 of file qxcbbackingstore.cpp.

◆ preparePaint() [1/2]

void QXcbBackingStoreImage::preparePaint ( const QRegion & region)

Definition at line 726 of file qxcbbackingstore.cpp.

References QXcbObject::connection(), and hasShm().

Here is the call graph for this function:

◆ preparePaint() [2/2]

void QXcbBackingStoreImage::preparePaint ( const QRegion & region)

◆ put() [1/2]

void QXcbBackingStoreImage::put ( xcb_drawable_t dst,
const QRegion & region,
const QPoint & offset )

Definition at line 676 of file qxcbbackingstore.cpp.

References hasShm(), and QXcbObject::xcb_connection().

Here is the call graph for this function:

◆ put() [2/2]

void QXcbBackingStoreImage::put ( xcb_drawable_t dst,
const QRegion & region,
const QPoint & offset )

◆ resize() [1/2]

void QXcbBackingStoreImage::resize ( const QSize & size)

Definition at line 184 of file qxcbbackingstore.cpp.

References QXcbObject::connection(), and QXcbObject::xcb_connection().

Here is the call graph for this function:

◆ resize() [2/2]

void QXcbBackingStoreImage::resize ( const QSize & size)

◆ scroll() [1/2]

bool QXcbBackingStoreImage::scroll ( const QRegion & area,
int dx,
int dy )

Definition at line 442 of file qxcbbackingstore.cpp.

References hasShm().

Here is the call graph for this function:

◆ scroll() [2/2]

bool QXcbBackingStoreImage::scroll ( const QRegion & area,
int dx,
int dy )

◆ size() [1/2]

QSize QXcbBackingStoreImage::size ( ) const
inline

Definition at line 58 of file qxcbbackingstore.cpp.

◆ size() [2/2]

QSize QXcbBackingStoreImage::size ( ) const
inline

Definition at line 58 of file qxcbbackingstore.cpp.


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