Repository navigation
HexagonLayer: support shared compute rendering features - #11078
Conversation
Codex Review Summary: ✅ CompletedThis 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. |
[Medium impact] The PR appears safe to merge; no outstanding issues were found. Summary
Since the previous review, only TSDoc comments changed. The requested declaration comments are present, and no new issues were found. Reviews (7) · Last reviewed commit: "Document retained aggregation state and ..." · Reviewed by Greptile |
chrisgervang
left a comment
There was a problem hiding this comment.
Reviewed 0c54b13; comments only at this point. One P1: on WebGPU, HexagonLayers with default props or pickable now draw no cells for 1 to 4+ frames after each change.
The one-frame matchesLength gap from #11045 is unchanged. On swiftshader WebGPU, color and elevation domains matched CPU aggregation on the SF bike-parking points.
Labels: P1 settle before this is merged, P2 can follow, Non-blocking optional.
chrisgervang
left a comment
There was a problem hiding this comment.
Reviewed a933d36; recommend approval. The P1, the shared-code item and both docs items are addressed.
On swiftshader WebGPU with radius 200, 800, 100, cells now draw in every frame after the first load with default props, explicit domains and pickable. The one-frame gap from #11045 is gone too. Two new Non-blocking items below.
Labels: P1 settle before this is merged, P2 can follow, Non-blocking optional.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort 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 6528e5d. Configure here.

For #10712. Follow up of #11062 and #11063.
Background
Hexagon compute aggregation falls back for picking, scales, and extensions. Connect it to the shared pipeline while keeping completed cells visible during readback. Picking alone no longer delays explicit-domain rendering.
Change List
Verified 106 aggregation tests (one existing skip), scoped typechecking, lint, and 119 node tests. GPU-column extensions remain unsupported.
Note
Medium Risk
Modifies WebGPU aggregation logic and state retention across aggregation layers, affecting fallback rules and asynchronous frame updates.
Overview
Enables WebGPU compute aggregation for advanced
HexagonLayerfeatures that previously forced a fallback to CPU aggregation. This includes automatic domains, picking, domain callbacks, quantile and ordinal scales, percentile filtering, and accessor extensions.Shares compute aggregation utilities in
AggregationLayer. Lifts compute aggregator options, clipping conversions, metadata checks, and cell retention logic up into the baseAggregationLayerfor reuse by bothGridLayerandHexagonLayer.Preserves rendered cells during readback. Both layers now retain completed cell geometry during asynchronous GPU-to-CPU readbacks to prevent blank frames, temporarily disabling picking until the updated data arrives.
Reviewed by Cursor Bugbot for commit 6528e5d. Bugbot is set up for automated code reviews on this repo. Configure here.