Repository navigation
feat(proposals): share PathLayer strokes with GPUPathLayer - #11048
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
[Medium impact] The PR appears safe to merge; the follow-up addresses the earlier test concern. SummaryThe PR shares
Reviews (2) · Last reviewed commit: "Compare stroke modes under a tilted came..." · Reviewed by Greptile |
Background
GPUPathLayer uses a separate stroke shader, so its joins and caps differ from PathLayer and it lacks analytic antialiasing and path-plane extrusion.
Change List
Verified with lint and focused WebGPU, PathLayer, and TripsLayer browser tests.
Note
Low Risk
Refactors internal WGSL shader generation and updates the experimental GPUPathLayer to achieve feature parity with PathLayer without affecting production GLSL paths.
Overview
Refactors
@deck.gl/core's WGSL path stroke shader into a configurable generator function,makePathShaderWGSL, and re-exports shared path shader plugins and uniforms.Updates
GPUPathLayerin@deck.gl/proposalsto construct its stroke pipeline using the shared core shader generator rather than a standalone implementation. This brings parity with standardPathLayerby adding support for rounded joins (jointRounded), rounded caps (capRounded), analytic antialiasing (antialiasing), and planar extrusion (billboard: false).Reviewed by Cursor Bugbot for commit 5aef165. Bugbot is set up for automated code reviews on this repo. Configure here.