Repository navigation
test(extensions): add PathStyleExtension dash render-test matrix - #10579
Merged
Merged
Conversation
chrisgervang
marked this pull request as ready for review
August 21, 2026 23:15
Greptile SummaryThis PR adds visual and performance baselines for PathStyleExtension dashing without changing production rendering behavior.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| test/apps/dash-styles/app.js | Adds the interactive dash inspection app; current path-mode option handling and mode-specific layer IDs resolve the previously reported fallback and lifecycle issues. |
| test/render/test-cases/path-dash.spec.ts | Adds the comprehensive PathStyleExtension dash render matrix with descriptive fixture and helper identifiers. |
| test/bench/path-style-extension-gpu.js | Adds timestamp-query GPU benchmarks whose rendered table values are sourced only from fixed labels and numeric measurements. |
| test/bench/path-style-extension.bench.js | Adds nested and flat-path CPU phase-generation benchmarks over 100,000 segments. |
| test/bench/vite.config.mjs | Adds the CPU and GPU PathStyleExtension benchmark pages as production-build inputs. |
| test/apps/dash-styles/package.json | Adds standalone app dependencies consistent with neighboring test apps; root dependency installation produces no lockfile change. |
Reviews (20): Last reviewed commit: "Merge master after viewport equality pre..." | Re-trigger Greptile
Pessimistress
approved these changes
Aug 22, 2026
chrisgervang
force-pushed
the
claude/deck-gl-path-dashing-2jnq8i
branch
from
August 22, 2026 00:59
5f96bab to
db8c9bf
Compare
chrisgervang
force-pushed
the
claude/deck-gl-path-dashing-2jnq8i
branch
from
August 22, 2026 01:09
db8c9bf to
344a365
Compare
chrisgervang
force-pushed
the
claude/deck-gl-path-dashing-2jnq8i
branch
2 times, most recently
from
August 22, 2026 22:15
e818583 to
2857c02
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2857c02. Configure here.
…ension Adds a render-test matrix and an interactive app for PathStyleExtension dashing, covering segment density, dash arrays, corners, zoom levels, device pixel ratio, 3D elevation and billboard/flat parity. The golden images record current behavior, defects included, so that subsequent work shows up as a direct image diff. Measured from these goldens with getDashArray [4, 5]: - Six strips drawing the identical straight line diverge purely by vertex count. 1, 2 and 4 segments dash correctly at a 43.4px period, 12 segments drifts to 55.4px, and 40 and 120 segments render fully solid. Dash phase restarts at every vertex, so once a segment is shorter than one dash period nothing is discarded. - dashJustified collapses the same way; justification is also per segment. - highPrecisionDash renders all six strips identically and correctly, confirming the continuous-arclength mechanism works and is merely opt-in. - billboard: true combined with highPrecisionDash is broken: the same geometry renders solid when dense and at a 52.0px period, 1.5x too long, when sparse, against 34.8px for the flat copy. - Dash length grows along paths that climb in Z, because the CPU accumulates 3D distance while the shader coordinate measures 2D. No source changes. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_014GipN1niYRgRuLVat2wujw
chrisgervang
force-pushed
the
claude/deck-gl-path-dashing-2jnq8i
branch
from
August 22, 2026 22:34
2857c02 to
4a870d7
Compare
chrisgervang
changed the base branch from
master
to
codex/path-style-offset-uniforms
August 29, 2026 00:08
This was referenced Aug 29, 2026
…ath-dashing-2jnq8i
…ath-dashing-2jnq8i
chrisgervang
changed the base branch from
master
to
codex/viewport-equality-projection-state
August 30, 2026 19:06
Base automatically changed from
codex/viewport-equality-projection-state
to
master
August 30, 2026 22:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Stack position: Part 1 of 6; base #10611. The merged offset-uniform prerequisite #10607 is included through
master; #10611 owns the general viewport-equality correction that this benchmark layer depends on.Goal
Establish visual and performance baselines for
PathStyleExtensionbefore changing production behavior. The goldens intentionally record both correct output and existing defects so later PRs have reviewable before/after evidence.Changes
test/apps/dash-stylesapp.Benchmark baseline
Measured at
04a7dc5947on Apple M1 Max, headless Chromium/ANGLE Metal, WebGL2, 3840×2160, with 20 timestamp-query samples. Values are median GPU milliseconds for one PathLayer pass:The public compatibility phase helper took approximately 1.45 ms for nested XYZ and 3.12 ms for flat XYZ over 100,000 segments. These are hardware- and workload-specific baselines, not application FPS estimates.
The render baseline also quantifies the defects corrected above it: sparse billboard periods measured 52.0 px versus 34.8 px flat, and offsets 0/2/4/8 changed a continuous-path period from 43.4 px to 42.4/42.4/41.6 px.
Validation
Note
Low Risk
Changes are confined to tests, benchmarks, and a dev app; production rendering code is untouched.
Overview
Adds test-only coverage for
PathStyleExtensiondashing ahead of behavior fixes—no changes to library source.Introduces a large WebGL golden-image suite in
path-dash.spec.ts(segment density, dash arrays, corners, circles at zoom, billboard vs flat parity, map zoom, 3D elevation, offsets, DPR2). Goldens intentionally capture current output, including known defects, with WebGPU skipped until WGSL exists andincludeAA: truefor diffs.Adds the interactive
test/apps/dash-stylesVite app to inspect dashes while zooming/pitching (segment matrix vs 3D elevation), comparing flat and billboard strokes.Adds CPU (
getDashOffsetson 100K segments) and GPU (WebGL2 timestamp-query) benchmark pages plus probe.gl registration and Vite build entries for reproducible performance baselines.Reviewed by Cursor Bugbot for commit 8fd8b20. Bugbot is set up for automated code reviews on this repo. Configure here.