Skip to content

[9.4-release] fix(core): honor Deck GPU debug option during device initialization (#10782) - #10932

Merged
chrisgervang merged 1 commit into
9.4-releasefrom
chr/backport-10782-9.4
Oct 26, 2026
Merged

chrisgervang merged 1 commit into
9.4-releasefrom
chr/backport-10782-9.4

Conversation

@chrisgervang

Copy link
Copy Markdown
Collaborator

Follow up of #10782, for #10812

Background

Backports #10782 to 9.4-release. Deck's debug prop never reached device initialization.

Change List

  • Original commit, cherry-picked with -x
  • Conflict resolved in the debug docs in deck.md and deck.ts. 9.4 keeps luma.gl 9's @luma.gl/debug import, where master uses luma.gl 10's @luma.gl/webgl/debug. The code and tests apply unchanged.

Verified deck.spec.ts (40 tests) passes on this branch, and modules/core type-checks.

@chrisgervang chrisgervang mentioned this pull request Oct 26, 2026
53 of 66 tasks
@greptile-apps

greptile-apps Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

This backport forwards Deck’s debug setting when creating a device or attaching a WebGL context.

  • Deck applies its debug setting when it starts a GPU device.

No actionable issues were found. Tests were not run during this review.

Reviews (2) · Last reviewed commit: "fix(core): honor Deck GPU debug option d..." · Reviewed by Greptile

@coveralls

coveralls commented Oct 26, 2026 •

Copy link
Copy Markdown

Coverage Status

Coverage is 82.954% — chr/backport-10782-9.4 into 9.4-release. No base build found for 9.4-release.

…10782)

* fix(core): honor Deck debug option during device initialization

* test(core): release GPU debug contexts after tests

Assisted-by: OpenAI Codex

* test(core): cover attached GPU debug settings safely

* fix(core): use one debug precedence for created and attached devices

Both device paths now apply deviceProps first and then set debug to
deviceProps.debug ?? debug, so an explicit deviceProps.debug: undefined no
longer clears Deck's debug option. Adds that case to the created and
attached GPU debug tests.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 3639622)
@chrisgervang
chrisgervang force-pushed the chr/backport-10782-9.4 branch from a5a37c7 to 0f61909 Compare October 26, 2026 20:55
@chrisgervang
chrisgervang merged commit 0cbe521 into 9.4-release Oct 26, 2026
8 checks passed
@chrisgervang
chrisgervang deleted the chr/backport-10782-9.4 branch October 26, 2026 21:55
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