From 0d43e21429ee23442ec3a99f641a5665d66e75e2 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Mon, 15 Jun 2020 15:59:15 +0200 Subject: 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 --- src/quick/items/qquickwindow.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/quick/items/qquickwindow.h') diff --git a/src/quick/items/qquickwindow.h b/src/quick/items/qquickwindow.h index 132030cc61..972d44b1c3 100644 --- a/src/quick/items/qquickwindow.h +++ b/src/quick/items/qquickwindow.h @@ -161,9 +161,6 @@ public: const QSize &size, CreateTextureOptions options = CreateTextureOption()) const; - void setClearBeforeRendering(bool enabled); - bool clearBeforeRendering() const; - void setColor(const QColor &color); QColor color() const; -- cgit v1.2.3