diff options
author | Armin Le Grand <armin.le.grand@me.com> | 2020-02-27 16:43:44 +0100 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@me.com> | 2020-02-27 18:12:30 +0100 |
commit | 424312aa99307da9f0ee60ea6e3213b2b3dc26b4 (patch) | |
tree | be71b53596bccdba919059799f56bec0412fa101 /include/svx | |
parent | ab623953b92d82d615bd2af6a9369915fe6fb7a8 (diff) |
tdf#130768 Make tiled writer paint reuse decomposes
See more info in comment 23 of task. Roughly it's
about correcting a helper that led to destroying the
View and thus the OC and thus the whole primitive
buffering - what was expensive, for the case where
decompositions were expensive
Change-Id: Ic661ae810083a35812eaa923b439b3856b34b9ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89640
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/sdrpaintwindow.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/svx/sdrpaintwindow.hxx b/include/svx/sdrpaintwindow.hxx index 55ecb22fd159..91183258a382 100644 --- a/include/svx/sdrpaintwindow.hxx +++ b/include/svx/sdrpaintwindow.hxx @@ -89,6 +89,9 @@ private: bool mbOutputToWindow : 1; + // ref to patched + SdrPaintWindow* mpPatched; + // helpers void impCreateOverlayManager(); @@ -96,6 +99,10 @@ public: SdrPaintWindow(SdrPaintView& rNewPaintView, OutputDevice& rOut, vcl::Window* pWindow = nullptr); ~SdrPaintWindow(); + // allow reference to patched, see patchPaintWindow/unpatchPaintWindow + void setPatched(SdrPaintWindow* pPaintWindow) { mpPatched = pPaintWindow; } + SdrPaintWindow* getPatched() const { return mpPatched; } + // data read accesses OutputDevice& GetOutputDevice() const { return *mpOutputDevice; } vcl::Window* GetWindow() const { return mpWindow; } |