[mapguide-commits] r10228 - branches/4.0/MgDev/Server/src/UnitTesting
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Fri Oct 23 12:36:50 PDT 2026
Author: jng
Date: 2026-10-23 12:36:50 -0700 (Fri, 23 Oct 2026)
New Revision: 10228
Modified:
branches/4.0/MgDev/Server/src/UnitTesting/TestRasterStylization.cpp
Log:
Theoeretical windows baseline fix
Modified: branches/4.0/MgDev/Server/src/UnitTesting/TestRasterStylization.cpp
===================================================================
--- branches/4.0/MgDev/Server/src/UnitTesting/TestRasterStylization.cpp 2026-10-23 19:10:51 UTC (rev 10227)
+++ branches/4.0/MgDev/Server/src/UnitTesting/TestRasterStylization.cpp 2026-10-23 19:36:50 UTC (rev 10228)
@@ -128,6 +128,13 @@
// bands are only filled by the 32 bit Band::SetValue path, which is a no-op
// on Linux before the fixes. They are added, with their expected colours,
// in the change that fixes those paths.
+ //
+ // The 64 bpp float fixture is absent for a different reason: before the
+ // fixes its behaviour depends on the platform. Windows reads one byte of
+ // the eight byte sample and paints an opaque black band, while Linux does
+ // not style the band at all and the background shows through. It cannot be
+ // part of a baseline that must pass on both, and is added by the change
+ // that fixes the 8 byte BandData accessor.
// The 32 bpp branch copies the source pixels through unchanged, so the
// source alpha survives and the renderer blends the colour over the white
@@ -153,10 +160,6 @@
// pattern happens to contain (0x45, 0x46, 0x46, 0x40).
{ "RasterStylization_gray32f.tif", "32 bpp float single band, samples read as ARGB",
{ 0xE1E5B9, 0xE8FAB8, 0xBFECB7, 0xDDBBBB } },
- // Doubles are read as unsigned 64 bit samples, which is far outside the
- // range a packed ARGB value can hold, so no pixel is coloured.
- { "RasterStylization_gray64f.tif", "64 bpp float single band, not styled",
- { 0xFFFFFF, 0xFFFFFF, 0xFFFFFF, 0xFFFFFF } },
};
// Real rasters derived from the FDO GDAL provider test data
More information about the mapguide-commits
mailing list