Skip to content

Fix useTexture keeps allocating CPU BitmapData#98

Merged
MAJigsaw77 merged 1 commit into
MAJigsaw77:mainfrom
Raltyro:patch-2
May 4, 2026
Merged

Fix useTexture keeps allocating CPU BitmapData#98
MAJigsaw77 merged 1 commit into
MAJigsaw77:mainfrom
Raltyro:patch-2

Conversation

@Raltyro
Copy link
Copy Markdown
Contributor

@Raltyro Raltyro commented Mar 25, 2026

  • Allocates whats necessary to a bitmapdata (true useTexture will only allocate VideoTexture, false useTexture will only allocate Image for BitmapData)
  • Copies texturePlanes to BitmapData image instead of unsafely setting the data directly to plane for false useTexture

@Raltyro Raltyro marked this pull request as draft March 26, 2026 08:25
@Raltyro Raltyro marked this pull request as ready for review March 26, 2026 22:09
@MAJigsaw77 MAJigsaw77 merged commit 330b69a into MAJigsaw77:main May 4, 2026
10 checks passed
@Raltyro Raltyro deleted the patch-2 branch May 24, 2026 00:59
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.

2 participants