73 qCDebug(lcQpaBackingStore) << Q_FUNC_INFO <<
"w =" << window();
75 m_needsPosting =
true;
78#if defined(QQNX_INCREMENTAL_RASTER_UPDATE)
79 platformWindow()->scroll(area, dx, dy,
true);
81 platformWindow()->scroll(area, dx, dy,
false);
82 QRegion remainder = QRect(QPoint(0, 0), backingStore()->size());
83 remainder -= area.translated(dx, dy);
84 platformWindow()->scroll(remainder, 0, 0,
true);
96 qCDebug(lcQpaBackingStore) << Q_FUNC_INFO <<
"w =" << window();
97 m_needsPosting =
true;
101#if defined(QQNX_INCREMENTAL_RASTER_UPDATE)
102 if (window()->requestedFormat().alphaBufferSize() > 0) {
103 auto platformScreen =
static_cast<QQnxScreen *>(platformWindow()->screen());
104 for (
const QRect &r : region) {
107 SCREEN_BLIT_COLOR, 0x00000000,
108 SCREEN_BLIT_DESTINATION_X, r.x(),
109 SCREEN_BLIT_DESTINATION_Y, r.y(),
110 SCREEN_BLIT_DESTINATION_WIDTH, r.width(),
111 SCREEN_BLIT_DESTINATION_HEIGHT, r.height(),
114 Q_SCREEN_CHECKERROR(screen_fill(platformScreen->nativeContext(),
115 platformWindow()->renderBuffer().nativeBuffer(), bg),
116 "failed to clear transparent regions");
118 Q_SCREEN_CHECKERROR(screen_flush_blits(platformScreen->nativeContext(),
119 SCREEN_WAIT_IDLE),
"failed to flush blits");
123 platformWindow()->scroll(QRect(QPoint(0, 0), backingStore()->size()), 0, 0,
true);