Skip to content

Move DynamicBuffer and DynamicTexture to @luma.gl/graph/api - #4200

Merged
ibgreen merged 2 commits into
masterfrom
codex/graph-dynamic-resources
Dec 4, 2026
Merged

ibgreen merged 2 commits into
masterfrom
codex/graph-dynamic-resources

Conversation

@ibgreen

@ibgreen ibgreen commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Goals

Put the dynamic resource wrappers beside graph data and execution APIs while keeping texture upload utilities internal.

Changes

  • Move DynamicBuffer and DynamicTexture to graph/src/api/dynamic-resources and export both classes and constructor props from @luma.gl/graph/api.
  • Move texture upload utilities to core/src/api/texture-utils. Graph accesses them through an internal subpath. Remove @luma.gl/core/dynamic.
  • Update engine, first-party examples, and the pinned deck.gl packages. Engine's existing compatibility forwards share the graph constructors.
  • Move the class reference pages to the graph API sidebar and redirect the old documentation routes.

Verification

  • Full package build and ESM/CommonJS identity checks, including rejection of the removed subpath.

Note

Medium Risk
Removes the @luma.gl/core/dynamic export subpath, introducing a breaking change for any consumers importing dynamic resources directly from core.

Overview
Moves DynamicBuffer, DynamicTexture, and their props from @luma.gl/core/dynamic to @luma.gl/graph/api. The @luma.gl/core/dynamic subpath is removed, with underlying texture utilities relocated to @luma.gl/core/_internal/texture-utils and internal dynamic helpers exposed via @luma.gl/graph/_internal/dynamic-resources.

Updates @luma.gl/engine compatibility exports to forward to the graph implementations. All repository examples, tests, documentation pages, redirect rules, and @deck.gl dependency patches are updated to import dynamic resources from @luma.gl/graph/api.

Reviewed by Cursor Bugbot for commit 03e3e7a. Bugbot is set up for automated code reviews on this repo. Configure here.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T18:28:41.889938Z d224577 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 Dec 4, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The PR appears safe to merge; both previous findings are fixed.

Summary

Moves DynamicBuffer and DynamicTexture to @luma.gl/graph/api, keeps texture upload helpers internal, and preserves engine compatibility exports.

  • DynamicBuffer and DynamicTexture now come from the graph API.
  • Dynamic resource guides now live under the graph API.

Reviews (2) · Last reviewed commit: "Declare graph on standalone examples and..." · Reviewed by Greptile

Comment thread examples/api/texture-sampling/app.ts Resolved
@ibgreen
ibgreen merged commit e33030e into master Dec 4, 2026
22 checks passed
@ibgreen
ibgreen deleted the codex/graph-dynamic-resources branch December 4, 2026 18:56
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.

1 participant