75 qCDebug(lcQpaBackingStore) << Q_FUNC_INFO <<
"w =" << window();
77 m_needsPosting =
true;
80#if defined(QQNX_INCREMENTAL_RASTER_UPDATE)
81 platformWindow()->scroll(area, dx, dy,
true);
83 platformWindow()->scroll(area, dx, dy,
false);
84 const QSize backingStoreSize = QHighDpi::toNativePixels(backingStore()->size(), window());
85 QRegion remainder = QRect(QPoint(0, 0), backingStoreSize);
86 remainder -= area.translated(dx, dy);
87 platformWindow()->scroll(remainder, 0, 0,
true);
99 qCDebug(lcQpaBackingStore) << Q_FUNC_INFO <<
"w =" << window();
100 m_needsPosting =
true;
104#if defined(QQNX_INCREMENTAL_RASTER_UPDATE)
105 if (window()->requestedFormat().alphaBufferSize() > 0) {
106 auto platformScreen =
static_cast<QQnxScreen *>(platformWindow()->screen());
107 for (
const QRect &r : region) {
110 SCREEN_BLIT_COLOR, 0x00000000,
111 SCREEN_BLIT_DESTINATION_X, r.x(),
112 SCREEN_BLIT_DESTINATION_Y, r.y(),
113 SCREEN_BLIT_DESTINATION_WIDTH, r.width(),
114 SCREEN_BLIT_DESTINATION_HEIGHT, r.height(),
117 Q_SCREEN_CHECKERROR(screen_fill(platformScreen->nativeContext(),
118 platformWindow()->renderBuffer().nativeBuffer(), bg),
119 "failed to clear transparent regions");
121 Q_SCREEN_CHECKERROR(screen_flush_blits(platformScreen->nativeContext(),
122 SCREEN_WAIT_IDLE),
"failed to flush blits");
126 const QSize backingStoreSize = QHighDpi::toNativePixels(backingStore()->size(), window());
127 platformWindow()->scroll(QRect(QPoint(0, 0), backingStoreSize), 0, 0,
true);