Read conformance pixels where they are drawn, and skip them only by the harness

Checks that read drawn pixels no longer skip when nothing is drawn: a
harness says pixels: false when its renderer draws only models into
pixels, as the stub, and a renderer that draws an icon, an
outlined line or a raster shell as nothing fails. The shell's patch is
read where the ground below projects, in the units readPixels crops in.
The contract notes what changed in version 0 besides additions, and
loses two stale lines.
This commit is contained in:
Sameh Khamis committed 2026-11-10 09:46:12 -08:00
1 parent d5e3968caa
commit f1817756ed
4 files changed
+38 -36

No files matched your search

+2
View File
@@ -20,6 +20,8 @@ export function createStubHarness(name = 'stub') {
toEcef,
tolerance: DEFAULT_TOLERANCE,
flightPaths: 'trace',
// It draws only models into pixels.
pixels: false,
pointer: (r, type, x, y, extra) => r.testing.pointer(type, x, y, extra),
scriptHeights: (r, fn) => r.testing.setHeights(fn),
wallTime: (r) => r.testing.wallTime(),