26 if (!m_bufferSize.
isEmpty() && m_bitmap)
27 return m_buffer.
image();
45 view->DrawBitmap(m_bitmap);
53 if (m_bufferSize ==
size)
57 m_bitmap =
new BBitmap(BRect(0, 0,
size.width(),
size.height()), B_RGB32,
false,
true);
const QImage * image() const
QHaikuRasterBackingStore(QWindow *window)
void flush(QWindow *window, const QRegion ®ion, const QPoint &offset) override
Flushes the given region from the specified window.
~QHaikuRasterBackingStore()
void resize(const QSize &size, const QRegion &staticContents) override
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
BView * nativeViewHandle() const
\inmodule QtCore\reentrant
The QRegion class specifies a clip region for a painter.
constexpr bool isEmpty() const noexcept
Returns true if either of the width and height is less than or equal to 0; otherwise returns false.
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLuint GLintptr offset