aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/adaptations/software
diff options
context:
space:
mode:
authorLaszlo Agocs <[email protected]>2020-06-05 12:20:12 +0200
committerLaszlo Agocs <[email protected]>2020-06-08 14:10:50 +0200
commitb83cc28964cbcb3c67b536dadc475c08225e383f (patch)
tree0459a6225968fd5cc2a4f61fcb9a9f50bcce06b4 /src/quick/scenegraph/adaptations/software
parent433dc99229c7c980f410b6692c1df17734c95385 (diff)
Remove customRenderStage from QQuickWindowPrivate
This is not maintained and probably not compatible with QRhi-based rendering anyways. Remove it for now. Task-number: QTBUG-84718 Task-number: QTBUG-84623 Change-Id: I423b45e247c751c94f1407cfb53f056d6ea7a10c Reviewed-by: Andy Nichols <[email protected]>
Diffstat (limited to 'src/quick/scenegraph/adaptations/software')
-rw-r--r--src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp b/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp
index 7075d3e1cb..0ba6e1994a 100644
--- a/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp
+++ b/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp
@@ -472,7 +472,7 @@ void QSGSoftwareRenderThread::syncAndRender()
syncResultedInChanges = false;
QQuickWindowPrivate *wd = QQuickWindowPrivate::get(exposedWindow);
- const bool repaintRequested = (pendingUpdate & RepaintRequest) || wd->customRenderStage;
+ const bool repaintRequested = pendingUpdate & RepaintRequest;
const bool syncRequested = pendingUpdate & SyncRequest;
const bool exposeRequested = (pendingUpdate & ExposeRequest) == ExposeRequest;
pendingUpdate = 0;
@@ -514,7 +514,7 @@ void QSGSoftwareRenderThread::syncAndRender()
QQuickProfiler::SceneGraphRenderLoopRender);
Q_TRACE(QSG_swap_entry);
- if (softwareRenderer && (!wd->customRenderStage || !wd->customRenderStage->swap()))
+ if (softwareRenderer)
backingStore->flush(softwareRenderer->flushRegion());
// Since there is no V-Sync with QBackingStore, throttle rendering the refresh