Skip to content

How does it know how to translate glfw calls to canvas? #4

Description

@trusktr

There's not a lot of code in here. How does the emscripten compile process know how to translate glfw window-creating calls to some sort of canvas output? In other words, how does emscripten know to translate cross-platform window-making calls into some sort of rectangles within the application? Seems like pure magic. Or does Emscripten have to explicitly support glfw before glfw cpuld be used, so that it can map calls to some DOM calls?

And the GL calls? Does it only work with gles, and emscripten knows how to translate to WebGL calls?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions