summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-08 20:46:15 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-09 09:29:50 +0200
commitb009ffb1620bb7a51f027c0f7fbc3ea9297cef69 (patch)
tree024d6887eb4423605e3b1f5bf8aaff77d46be99d /vcl
parentd884c4be18a82f61fe6db6f22cb1bf1092afd48a (diff)
update crcs for --enable-cairo-rgba case
Change-Id: If0588a018564a708361b0246b294520ac5d2d1db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167368 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qa/cppunit/svm/svmtest.cxx25
1 files changed, 21 insertions, 4 deletions
diff --git a/vcl/qa/cppunit/svm/svmtest.cxx b/vcl/qa/cppunit/svm/svmtest.cxx
index d339e80b2fa3..1b5db975e2f2 100644
--- a/vcl/qa/cppunit/svm/svmtest.cxx
+++ b/vcl/qa/cppunit/svm/svmtest.cxx
@@ -33,6 +33,7 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <config_features.h>
+#include <config_cairo_rgba.h>
#include <config_fonts.h>
#include <vcl/skia/SkiaHelper.hxx>
@@ -943,7 +944,11 @@ void SvmTest::checkBitmaps(const GDIMetaFile& rMetaFile)
#if defined OSL_BIGENDIAN
"5e01ddcc"
#else
- "469f0820"
+#if !ENABLE_CAIRO_RGBA
+ "469f0820" // typical BGRA little-endian config
+#else
+ "3789377b" // atypical RGBA little-endian config
+#endif
#endif
}});
assertXPathAttrs(pDoc, "/metafile/bmpscale[1]"_ostr, {
@@ -956,7 +961,11 @@ void SvmTest::checkBitmaps(const GDIMetaFile& rMetaFile)
#if defined OSL_BIGENDIAN
"b8dee5da"
#else
- "3789377b"
+#if !ENABLE_CAIRO_RGBA
+ "3789377b" // typical BGRA little-endian config
+#else
+ "469f0820" // atypical RGBA little-endian config
+#endif
#endif
}
});
@@ -1018,9 +1027,17 @@ void SvmTest::checkBitmapExs(const GDIMetaFile& rMetaFile, bool bIsSvmFile)
"33b4a07c",
"742c3e35",
#else
- "ac936607",
+#if !ENABLE_CAIRO_RGBA
+ "ac936607", // typical BGRA little-endian config
+#else
+ "ecd75a28", // atypical RGBA little-endian config
+#endif
"4937e32d",
- "3789377b",
+#if !ENABLE_CAIRO_RGBA
+ "3789377b", // typical BGRA little-endian config
+#else
+ "469f0820", // atypical RGBA little-endian config
+#endif
"839e8cce",
"236aaf55", // 1-bit
"2949ccc7", // 4-bit color bitmap - same as 8-bit color bitmap