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

Windows: Update ANGLE surface size when window is resized #94428

Merged
merged 2 commits into from
Jul 31, 2024

Commits on Jul 16, 2024

  1. Windows: Do not attempt to resize surface before it is created

    `WM_WINDOWPOSCHANGED` may be received before `CreateWindowExW` has even
    returned, when the window's rendering context or OpenGL context hasn't
    been created yet.
    alvinhochun committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    d7f023a View commit details
    Browse the repository at this point in the history
  2. Windows: Update ANGLE surface size when window is resized

    ANGLE needs to be told to resize the DXGI swap chain using
    `eglWaitNative`. Otherwise the resize will only happen in
    `eglSwapBuffers`, which causes some janky stretching during window
    resize.
    alvinhochun committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    a1a0acf View commit details
    Browse the repository at this point in the history