Definition at line 59 of file qxcbwindowsurface.cpp.
◆ QXcbShmImage()
Definition at line 85 of file qxcbwindowsurface.cpp.
94 XCB_IMAGE_FORMAT_Z_PIXMAP,
108 qWarning() <<
"QXcbWindowSurface: Unable to attach to shared memory segment";
112 if (shmctl(
m_shm_info.shmid, IPC_RMID, 0) == -1)
113 qWarning() <<
"QXcbWindowSurface: Error while marking the shared memory segment to be destroyed";
xcb_connection_t * xcb_connection() const
QXcbConnection * connection() const
xcb_shm_segment_info_t m_shm_info
int width() const
Returns the width.
xcb_image_t * m_xcb_image
Q_CORE_EXPORT void qWarning(const char *,...)
The QImage class provides a hardware-independent image representation that allows direct access to th...
int height() const
Returns the height.
QXcbObject(QXcbConnection *connection=0)
◆ ~QXcbShmImage()
QXcbShmImage::~QXcbShmImage |
( |
| ) |
|
|
inline |
◆ destroy()
void QXcbShmImage::destroy |
( |
| ) |
|
|
private |
◆ image()
QImage* QXcbShmImage::image |
( |
| ) |
|
|
inline |
◆ preparePaint()
void QXcbShmImage::preparePaint |
( |
const QRegion & |
region | ) |
|
◆ put()
void QXcbShmImage::put |
( |
xcb_window_t |
window, |
|
|
const QPoint & |
dst, |
|
|
const QRect & |
source |
|
) |
| |
Definition at line 128 of file qxcbwindowsurface.cpp.
Referenced by QXcbWindowSurface::flush(), and image().
xcb_connection_t * xcb_connection() const
int width() const
Returns the width of the rectangle.
int height() const
Returns the height of the rectangle.
QXcbConnection * connection() const
xcb_shm_segment_info_t m_shm_info
xcb_image_t * m_xcb_image
int y() const
Returns the y-coordinate of the rectangle's top edge.
int x() const
Returns the x-coordinate of the rectangle's left edge.
◆ m_dirty
◆ m_gc
xcb_gcontext_t QXcbShmImage::m_gc |
|
private |
◆ m_gc_window
xcb_window_t QXcbShmImage::m_gc_window |
|
private |
◆ m_qimage
◆ m_shm_info
xcb_shm_segment_info_t QXcbShmImage::m_shm_info |
|
private |
◆ m_xcb_image
xcb_image_t* QXcbShmImage::m_xcb_image |
|
private |
The documentation for this class was generated from the following file: