summaryrefslogtreecommitdiff
path: root/include/basegfx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-05-28 13:18:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-05-29 09:40:12 +0200
commit31b0be0f21479323408e128f2e8a1a795e037e74 (patch)
tree97f4d31113dc06084758042cd6e87f73c5c5a43e /include/basegfx
parentf1ce5c3e7e621334be29df0fa425803ce77afb28 (diff)
improve pahole script and pack a few classes
(*) fix: I was substracting the padding space instead of adding it when calculating how much free space we had to improve. (*) sort input data, so we process structs located in the same DSO together, which reduces GDB's memory usage (*) handle another error condition, where gdbs output is sufficiently mixed up that we miss the end of commands terminator Change-Id: Ic4bb92b736f38a2b3d90e4a14485152b7f869b43 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95041 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/basegfx')
-rw-r--r--include/basegfx/DrawCommands.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/basegfx/DrawCommands.hxx b/include/basegfx/DrawCommands.hxx
index e9e3b935b8cf..fef43689b4a9 100644
--- a/include/basegfx/DrawCommands.hxx
+++ b/include/basegfx/DrawCommands.hxx
@@ -43,8 +43,8 @@ enum class GradientType
class GradientStop
{
public:
- float mfOffset;
basegfx::BColor maColor;
+ float mfOffset;
float mfOpacity;
};