Skip to content

feat(layers): use typed GPU attributes in paths and polygons - #10910

Merged
ibgreen merged 6 commits into
masterfrom
codex/typed-path-polygon
Oct 28, 2026
Merged

ibgreen merged 6 commits into
masterfrom
codex/typed-path-polygon

Conversation

@ibgreen

@ibgreen ibgreen commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Follow up of #10882, #10907, and #10908

Background

PathLayer and SolidPolygonLayer still use legacy model attribute binding. Migrate these tessellated layer families, including inherited TripsLayer rendering, to typed GPU inputs. Public accessors and data.attributes support remain unchanged.

Change List

  • Use deterministic terrain fixtures for lifecycle tests
  • Prepare shared packed buffers once per attribute update
  • Extend lifecycle helpers for devices, async updates, and cleanup
  • Migrate PathLayer and inherited TripsLayer models
  • Migrate SolidPolygonLayer top, side, and wireframe models
  • Unit tests for bound colors, normalization, timestamps, and indices
  • Render tests

CI passes on current master: coverage, WebGPU unit/render tests, website, and Python. Async lifecycle and terrain regressions pass locally.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-23T14:09:58.166773Z 20b967f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no blocking issues were found.

Summary

Moves path, Trips, and polygon models to typed GPU inputs while keeping public accessors unchanged.

  • Path, trip, and polygon layers bind tessellated attributes through typed GPU models.
  • Async layer tests wait for every requested update before they finish.

The latest changes let timers run between updates and clean up after failures. No new actionable issues were found. The earlier bound-color concern is addressed: each model’s bound color is checked across distinct color updates.

Reviews (7) · Last reviewed commit: "test(utils): yield between deferred laye..." · Reviewed by Greptile

@coveralls

coveralls commented Oct 23, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 84.191% (+0.03%) from 84.16% — codex/typed-path-polygon into master

@ibgreen
ibgreen force-pushed the codex/typed-path-polygon branch from d62c53f to 256ea73 Compare October 26, 2026 22:44
@ibgreen
ibgreen merged commit e3291f1 into master Oct 28, 2026
8 checks passed
@ibgreen
ibgreen deleted the codex/typed-path-polygon branch October 28, 2026 21:07
@chrisgervang chrisgervang mentioned this pull request Oct 29, 2026
29 of 30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants