76 qCDebug(lcQpaBackingStore) << Q_FUNC_INFO <<
"w =" << window();
78 m_needsPosting =
true;
81#if defined(QQNX_INCREMENTAL_RASTER_UPDATE)
82 platformWindow()->scroll(area, dx, dy,
true);
84 platformWindow()->scroll(area, dx, dy,
false);
85 const QSize backingStoreSize = QHighDpi::toNativePixels(backingStore()->size(), window());
86 QRegion remainder = QRect(QPoint(0, 0), backingStoreSize);
87 remainder -= area.translated(dx, dy);
88 platformWindow()->scroll(remainder, 0, 0,
true);
100 qCDebug(lcQpaBackingStore) << Q_FUNC_INFO <<
"w =" << window();
101 m_needsPosting =
true;
104 QHighDpi::toNativePixels(m_requestedSize, window()));
106#if defined(QQNX_INCREMENTAL_RASTER_UPDATE)
107 if (window()->requestedFormat().alphaBufferSize() > 0) {
108 auto platformScreen =
static_cast<QQnxScreen *>(platformWindow()->screen());
109 for (
const QRect &r : region) {
112 SCREEN_BLIT_COLOR, 0x00000000,
113 SCREEN_BLIT_DESTINATION_X, r.x(),
114 SCREEN_BLIT_DESTINATION_Y, r.y(),
115 SCREEN_BLIT_DESTINATION_WIDTH, r.width(),
116 SCREEN_BLIT_DESTINATION_HEIGHT, r.height(),
119 Q_SCREEN_CHECKERROR(screen_fill(platformScreen->nativeContext(),
120 platformWindow()->renderBuffer().nativeBuffer(), bg),
121 "failed to clear transparent regions");
123 Q_SCREEN_CHECKERROR(screen_flush_blits(platformScreen->nativeContext(),
124 SCREEN_WAIT_IDLE),
"failed to flush blits");
128 const QSize backingStoreSize = QHighDpi::toNativePixels(backingStore()->size(), window());
129 platformWindow()->scroll(QRect(QPoint(0, 0), backingStoreSize), 0, 0,
true);