Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple GLFW contexts #3934

Closed
wants to merge 4 commits into from

Commits on Mar 17, 2021

  1. Backends: GLFW: Use glfwGetCurrentContext() instead of storing the gl…

    …fw window as global in order to better handle the situation where the caller might be self-managing multiple glfw contexts (ocornut#3012)
    bear24rw authored and Max Thrun committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    7ac021a View commit details
    Browse the repository at this point in the history
  2. Backends: GLFW: Keep track of cross-frame state individually per glfw…

    … context. This allows users to self-manage multiple glfw contexts (ocornut#3012)
    bear24rw authored and Max Thrun committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    2053747 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. Backends: GLFW: Allow optionally passing the glfw window to NewFrame …

    …and Shutdown instead of determining it from glfwCurrentContext since glfw contexts are only valid when using opengl.
    bear24rw authored and Max Thrun committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    e90654f View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. Backends: GLFW: Use IM_NEW/IM_DELETE instead of MemAlloc/MemFree in o…

    …rder to get properly constructed State objects with the correct member initialization
    bear24rw authored and Max Thrun committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    c8dc2f9 View commit details
    Browse the repository at this point in the history