emscripten-core / emscripten-core/emscripten

When I call glTexImage2D upload texture what will happen internal ? Does the texture need copy from wasm memory to js memory?

Open
#18,109 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

When I call glTexImage2D upload texture what will happen internal ? The texture need copy from wasm memory to js memory?

And I find "typed_memory_view". It seem can avoid copy But I don't know glTexImage2D or other GL Function will use the "typed_memory_view"?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.