Repository navigation
feat(layers): add Arrow columns to LineLayer and PointCloudLayer - #11029
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 extends Arrow-column rendering to two layer workflows and adjusts shared fallback lookup. The code changes appear safe, but the required release note should be added before merging. Findings
SummaryAdds Arrow columns to
|
076334a to
f626231
Compare
Follow up of #10920
Background
LineLayer and PointCloudLayer require row accessors or binary attributes even when Arrow columns are available. Both can reuse the shared column preparation and batch rendering introduced for ScatterplotLayer and ArcLayer.
Change List
LineLayerandPointCloudLayerGPUVectorModeland owned geometryVerified:
yarn,yarn build, lint, Node and WebGL/WebGPU tests.Note
Low Risk
Changes introduce optional column-based input paths and batching helpers for two layers with no modifications to standard row accessor processing.
Overview
Adds Apache Arrow column support to
LineLayer(sourcePositions,targetPositions,colors,widths) andPointCloudLayer(positions,normals,colors), enabling layers to ingest columnar vectors directly without constructing per-feature JavaScript objects.Both layers integrate
LayerColumnsto coordinate asynchronous column conversion, batch rendering withrowIndexOffsetshader uniform tracking for picking, and transitions between columnar and row accessor modes.LineLayeralso adapts its 180th-meridian longitude-wrapping model for chunked column draws.In
@deck.gl/core,LayerColumnsnow resolves binary attribute overrides by attribute name in addition to accessor name. Documentation and cross-backend WebGL/WebGPU test suites covering batched rendering, date line crossing, and buffer lifecycle management have been added.Reviewed by Cursor Bugbot for commit f626231. Bugbot is set up for automated code reviews on this repo. Configure here.