aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickwindow_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-06-15 15:59:15 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2020-06-16 09:39:12 +0200
commit0d43e21429ee23442ec3a99f641a5665d66e75e2 (patch)
tree73a96cc1abdbb402bc3108d87b4daa6fd15c97d5 /src/quick/items/qquickwindow_p.h
parentc27a47d0d826c3f5833407a07dbcfee613b3ace5 (diff)
QQuickWindow: Remove (set)ClearBeforeRendering
The doc update reveals that this setting has been ignored with the RHI always, and there is no plans (or ways) to support this. As the beforeRenderPassRecording() signal documents, connecting to that signal is effectively an alternative to disabling clearing the color buffer. (because it allows the application to execute custom GL or other calls after the clear but before the rest of Qt Quick's rendering) Therefore, remove the clearBeforeRendering flag from Qt 6. [ChangeLog][Qt Quick][QQuickWindow] setClearBeforeRendering() and clearBeforeRendering() are removed. Change-Id: I6a0a6f56552331923f2e07390e2f33f58c6c31e0 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/items/qquickwindow_p.h')
-rw-r--r--src/quick/items/qquickwindow_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/quick/items/qquickwindow_p.h b/src/quick/items/qquickwindow_p.h
index beb7e00f15..2310367631 100644
--- a/src/quick/items/qquickwindow_p.h
+++ b/src/quick/items/qquickwindow_p.h
@@ -274,8 +274,6 @@ public:
QColor clearColor;
- uint clearBeforeRendering : 1;
-
uint persistentGraphics : 1;
uint persistentSceneGraph : 1;