Skip to content

fix: lazy-init GL queries and SDF buffers on startup - #914

Merged
wouterlucas merged 2 commits into
mainfrom
fix/lazy-renderer-startup
Sep 28, 2026
Merged

wouterlucas merged 2 commits into
mainfrom
fix/lazy-renderer-startup

Conversation

@wouterlucas

Copy link
Copy Markdown
Contributor

Delay creation of the GLW to when it is actually needed to spread out the startup load

Comment thread src/core/renderers/webgl/WebGlRenderer.ts Outdated
Comment thread src/core/renderers/webgl/WebGlRenderer.ts Outdated
Use explicit !== null instead of truthy checks for _sdfBufferPlain
and _sdfBufferRich to satisfy reviewer feedback on PR #914.

@milesnash milesnash left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@wouterlucas
wouterlucas merged commit 4d7ff37 into main Sep 28, 2026
4 checks passed
@wouterlucas
wouterlucas deleted the fix/lazy-renderer-startup branch September 28, 2026 16:40
wouterlucas added a commit that referenced this pull request Sep 28, 2026
…ystem getter conflict (keep main version; PR duplicate of #914)
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