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>.
|
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) |
QImage * | image () |
QPlatformGraphicsBuffer * | graphicsBuffer () |
QSize | size () const |
bool | hasAlpha () const |
bool | hasShm () const |
void | put (xcb_drawable_t dst, const QRegion ®ion, const QPoint &offset) |
void | preparePaint (const QRegion ®ion) |
Public Member Functions inherited from QXcbObject | |
QXcbObject (QXcbConnection *connection=nullptr) | |
void | setConnection (QXcbConnection *connection) |
QXcbConnection * | connection () 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) |
Definition at line 41 of file qxcbbackingstore.cpp.
QXcbBackingStoreImage::QXcbBackingStoreImage | ( | QXcbBackingStore * | backingStore, |
const QSize & | size ) |
Definition at line 152 of file qxcbbackingstore.cpp.
References window(), and QPlatformBackingStore::window().
QXcbBackingStoreImage::QXcbBackingStoreImage | ( | QXcbBackingStore * | backingStore, |
const QSize & | size, | ||
uint | depth, | ||
QImage::Format | format ) |
Definition at line 160 of file qxcbbackingstore.cpp.
|
inline |
Definition at line 46 of file qxcbbackingstore.cpp.
|
static |
Definition at line 370 of file qxcbbackingstore.cpp.
References error, and qCWarning.
Referenced by QXcbBackingStore::createSystemVShmSegment().
void QXcbBackingStoreImage::flushScrolledRegion | ( | bool | clientSideScroll | ) |
Definition at line 271 of file qxcbbackingstore.cpp.
References QPainter::CompositionMode_Source, QXcbObject::connection(), QImage::format(), hasShm(), QRegion::intersects(), QRegion::isNull(), Q_XCB_REPLY_UNCHECKED, rect, reply, QXcbConnection::sync(), and QXcbObject::xcb_connection().
Referenced by QXcbBackingStore::flush(), QXcbBackingStore::rhiFlush(), and QXcbBackingStore::toImage().
|
inline |
Definition at line 55 of file qxcbbackingstore.cpp.
Referenced by QXcbBackingStore::graphicsBuffer().
|
inline |
Definition at line 59 of file qxcbbackingstore.cpp.
Referenced by QXcbBackingStore::beginPaint().
|
inline |
Definition at line 60 of file qxcbbackingstore.cpp.
Referenced by flushScrolledRegion(), preparePaint(), put(), resize(), and scroll().
|
inline |
Definition at line 54 of file qxcbbackingstore.cpp.
Referenced by QXcbBackingStore::endPaint(), QXcbBackingStore::paintDevice(), and QXcbBackingStore::toImage().
Definition at line 725 of file qxcbbackingstore.cpp.
References QXcbObject::connection(), hasShm(), QRegion::intersects(), and QXcbConnection::sync().
Referenced by QXcbBackingStore::beginPaint(), QXcbBackingStore::endPaint(), and scroll().
void QXcbBackingStoreImage::put | ( | xcb_drawable_t | dst, |
const QRegion & | region, | ||
const QPoint & | offset ) |
Definition at line 675 of file qxcbbackingstore.cpp.
References QRegion::boundingRect(), hasShm(), Q_ASSERT, rect, QRect::topLeft(), QRegion::translated(), QRect::translated(), and QXcbObject::xcb_connection().
Referenced by QXcbBackingStore::render(), and QXcbSystemTrayBackingStore::render().
Definition at line 183 of file qxcbbackingstore.cpp.
References QSysInfo::BigEndian, QSysInfo::ByteOrder, QXcbObject::connection(), QScreen::handle(), hasShm(), imageDataSize(), qCDebug, size(), QPlatformBackingStore::window(), and QXcbObject::xcb_connection().
Referenced by QXcbBackingStore::recreateImage(), and QXcbSystemTrayBackingStore::recreateImage().
bool QXcbBackingStoreImage::scroll | ( | const QRegion & | area, |
int | dx, | ||
int | dy ) |
Definition at line 441 of file qxcbbackingstore.cpp.
References area(), hasShm(), QRegion::intersected(), QImage::isNull(), preparePaint(), qt_scrollRectInImage(), rect, scrollArea, size(), QRegion::translated(), QRect::translated(), and QXcbObject::xcb_connection().
Referenced by QXcbBackingStore::scroll().
|
inline |
Definition at line 57 of file qxcbbackingstore.cpp.
References QImage::size().
Referenced by QXcbBackingStore::flush(), resize(), QXcbBackingStore::resize(), QXcbBackingStore::rhiFlush(), and scroll().