Skip to content

[pull] master from beyond-all-reason:master - #84

Merged
pull[bot] merged 1 commit into
ExaDev:masterfrom
beyond-all-reason:master
Sep 1, 2026
Merged

[pull] master from beyond-all-reason:master#84
pull[bot] merged 1 commit into
ExaDev:masterfrom
beyond-all-reason:master

Conversation

@pull

@pull pull Bot commented Sep 1, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Expose glCopyImageSubData (ARB_copy_image) to Lua. Until now the only way to fill a layer of a GL.TEXTURE_2D_ARRAY, or to combine two textures, was a render-to-texture pass, which forces an uncompressed RGBA8 copy even when the source is a compressed texture and costs a fullscreen draw per layer. A direct image copy keeps the source format (compressed to compressed included) and needs no FBO.

The destination must be a Lua-created texture, the source can be any texture name gl.Texture accepts. Offsets and sizes are validated against the known texture dimensions. The function is only registered when the driver supports ARB_copy_image.
@pull pull Bot locked and limited conversation to collaborators Sep 1, 2026
@pull pull Bot added the ⤵️ pull label Sep 1, 2026
@pull
pull Bot merged commit 56de692 into ExaDev:master Sep 1, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant