diff options
author | Armin Le Grand (allotropia) <armin.le.grand.extern@allotropia.de> | 2023-04-04 14:57:06 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@me.com> | 2023-04-04 18:55:49 +0200 |
commit | 4b5203ebf4ca5894f4d7dd37a141832df26e8b9a (patch) | |
tree | e3f3497bdc121eade2d9c812ae26c3d8d0c8d718 /drawinglayer/inc | |
parent | 37928bef1c23f30df04bc7e95fcbc202c8cb4299 (diff) |
MCGR: Improve performance for texture-mapped MCGR processing
Change-Id: I20b32e7c272112c6c3d9f7ee0ef59c6d4d006d94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150020
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r-- | drawinglayer/inc/texture/texture.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drawinglayer/inc/texture/texture.hxx b/drawinglayer/inc/texture/texture.hxx index 54ace6ba3b47..01d3ec5c64c5 100644 --- a/drawinglayer/inc/texture/texture.hxx +++ b/drawinglayer/inc/texture/texture.hxx @@ -52,6 +52,10 @@ namespace drawinglayer::texture basegfx::ColorStops mnColorStops; double mfBorder; + // provide a single buffer entry used for gradient texture + // mapping, see ::modifyBColor implementations + mutable basegfx::ColorStopRange maLastColorStopRange; + // check if we need last-ColorStop-correction bool checkPenultimate(); |