diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-04-01 14:46:37 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-08 14:00:13 +0200 |
commit | 798134400a22f878b6cfd186b3792ecedb4d9123 (patch) | |
tree | 5ff358f5e894fa60c19c1d29067a4c9618432307 /src/webengine/render_widget_host_view_qt_delegate_quick.h | |
parent | 96425960f9d57387c33e3ba50785aaa81255bc98 (diff) |
Get rid of the BackingStore rendering path
Now that the widgets view is also using the delegated renderer,
there are no supported configuration that use the BackingStore
rendering path, itself on the way of deprecation in Chromium.
Change-Id: I4ab889f6a7c65e8447c259faf2c7a98b88c1acf5
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/webengine/render_widget_host_view_qt_delegate_quick.h')
-rw-r--r-- | src/webengine/render_widget_host_view_qt_delegate_quick.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/webengine/render_widget_host_view_qt_delegate_quick.h b/src/webengine/render_widget_host_view_qt_delegate_quick.h index 47884068e..03e39a8d2 100644 --- a/src/webengine/render_widget_host_view_qt_delegate_quick.h +++ b/src/webengine/render_widget_host_view_qt_delegate_quick.h @@ -136,11 +136,6 @@ public: this->setSize(QSizeF(width, height)); } - virtual bool supportsHardwareAcceleration() const Q_DECL_OVERRIDE - { - return false; - } - virtual void move(const QPoint&) Q_DECL_OVERRIDE {} void focusInEvent(QFocusEvent *event) @@ -240,25 +235,9 @@ class RenderWidgetHostViewQtDelegateQuick : public RenderWidgetHostViewQtDelegat public: RenderWidgetHostViewQtDelegateQuick(RenderWidgetHostViewQtDelegateClient *client, bool isPopup); - virtual void update(const QRect& rect = QRect()) Q_DECL_OVERRIDE; - virtual bool supportsHardwareAcceleration() const Q_DECL_OVERRIDE; + virtual void update() Q_DECL_OVERRIDE; virtual void itemChange(ItemChange change, const ItemChangeData &value) Q_DECL_OVERRIDE; virtual QSGNode *updatePaintNode(QSGNode *, UpdatePaintNodeData *) Q_DECL_OVERRIDE; }; - -class RenderWidgetHostViewQtDelegateQuickPainted : public RenderWidgetHostViewQtDelegateQuickBase<QQuickPaintedItem> -{ - Q_OBJECT -public: - RenderWidgetHostViewQtDelegateQuickPainted(RenderWidgetHostViewQtDelegateClient *client, bool isPopup); - - virtual void update(const QRect& rect = QRect()) Q_DECL_OVERRIDE; - - void paint(QPainter *painter); - -protected: - void updatePolish(); -}; - #endif |