Skip to content

feat(layers): use typed GPU attributes in bitmap and mesh models - #10911

Merged
ibgreen merged 5 commits into
masterfrom
codex/typed-bitmap-mesh
Oct 28, 2026
Merged

ibgreen merged 5 commits into
masterfrom
codex/typed-bitmap-mesh

Conversation

@ibgreen

@ibgreen ibgreen commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

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

Background

BitmapLayer, SimpleMeshLayer, and internal MeshLayer still use legacy model attribute binding. Move them onto typed GPU inputs. Terrain inherits the SimpleMeshLayer migration; Tile3D uses internal MeshLayer. Public accessor and data.attributes APIs remain unchanged.

Change List

  • Use deterministic terrain fixtures for lifecycle tests
  • Extend lifecycle helpers for devices, async updates, and cleanup
  • Migrate BitmapLayer to GPUVectorModel
  • Migrate SimpleMeshLayer and internal MeshLayer
  • Unit tests for updates, geometry, indices, and borrowed resources
  • 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

chatgpt-codex-connector Bot commented Oct 23, 2026 •

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 ✅ Completed 2026-10-23T14:31:49.318797Z e71e0a1 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 actionable new issue was found.

Summary

Moves BitmapLayer, SimpleMeshLayer, and internal MeshLayer to GPUVectorModel.

  • Bitmap and mesh layers bind their attributes through typed GPU models.
  • Async layer tests wait for pending updates and clean up on failure.

No new actionable issues were found in the changes since the previous review. No previous review threads were supplied. Tests were not run during this review.

Reviews (6) · 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.35% (+0.2%) from 84.16% — codex/typed-bitmap-mesh into master

@ibgreen
ibgreen force-pushed the codex/typed-bitmap-mesh branch from e4c8a2b to 4f2bba2 Compare October 26, 2026 22:44
@ibgreen
ibgreen merged commit 0233633 into master Oct 28, 2026
8 checks passed
@ibgreen
ibgreen deleted the codex/typed-bitmap-mesh 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