diff options
author | Kai Uwe Broulik <kde@privat.broulik.de> | 2024-01-08 14:25:19 +0100 |
---|---|---|
committer | Kai Uwe Broulik <kde@privat.broulik.de> | 2024-02-15 18:47:45 +0100 |
commit | d0dc2bb97469a276a76311c65a54873f7caa7df8 (patch) | |
tree | ff179a23924c21f7e72bd69f022f61d86f0c3de8 /src/client/qwaylandshmbackingstore_p.h | |
parent | cf0c0065bd0b689b3651aa50a229b0e118b19336 (diff) |
QWaylandShmBackingStore: Split buffer preparation into dedicated method
Drop "resize(QRect)" since it is ambiguous with the resize coming from
QPlatformBackingStore.
This allows to ensure a back buffer from multiple places, such as the
upcoming "scroll" support.
Change-Id: I43a5ece2d0e25e64b41335ba59b2b8c4ffcfff74
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Diffstat (limited to 'src/client/qwaylandshmbackingstore_p.h')
-rw-r--r-- | src/client/qwaylandshmbackingstore_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/qwaylandshmbackingstore_p.h b/src/client/qwaylandshmbackingstore_p.h index 8c7b83dbb..788893360 100644 --- a/src/client/qwaylandshmbackingstore_p.h +++ b/src/client/qwaylandshmbackingstore_p.h @@ -61,7 +61,6 @@ public: QPaintDevice *paintDevice() override; void flush(QWindow *window, const QRegion ®ion, const QPoint &offset) override; void resize(const QSize &size, const QRegion &staticContents) override; - void resize(const QSize &size); void beginPaint(const QRegion ®ion) override; void endPaint() override; @@ -70,7 +69,7 @@ public: QMargins windowDecorationMargins() const; QImage *entireSurface() const; QImage *contentSurface() const; - void ensureSize(); + void ensureBackBuffer(); QWaylandWindow *waylandWindow() const; void iterateBuffer(); |