Skip to content
Success

Changes

Summary

  1. Wayland: Fix leak of surface scaling objects (commit: 42dc1ff) (details)
  2. Null: Add Vulkan 'window' surface creation (commit: 860c8ef) (details)
  3. Null: Add limited EGL context creation on Mesa (commit: 738dd6f) (details)
  4. Fix missing assertions for native access functions (commit: 38ec7ab) (details)
  5. Place assertions for handles after init check (commit: 68dcea0) (details)
  6. Allow C99 booleans (commit: 072f660) (details)
  7. Wayland: Fix segfault when there is no seat (commit: 3573c5a) (details)
  8. EGL: Allow native access with defaults on Wayland (commit: 228e582) (details)
Commit 42dc1ffaee922629cf503dac5888b95a2f7532ce by elmindreda
Wayland: Fix leak of surface scaling objects
(commit: 42dc1ff)
The file was modified src/wl_window.c (diff)
The file was modified README.md (diff)
Commit 860c8ef38f0200824a8f038a5e6502963ec9c443 by elmindreda
Null: Add Vulkan 'window' surface creation

This adds support for Vulkan 'window' surface creation on the Null
platform via the VK_EXT_headless_surface extension, where available.

Tested with MoltenVK.
(commit: 860c8ef)
The file was modified README.md (diff)
The file was modified src/vulkan.c (diff)
The file was modified src/internal.h (diff)
The file was modified src/null_platform.h (diff)
The file was modified src/null_window.c (diff)
Commit 738dd6ff1d4f79cf4f8b8af0621a8afb40c51b4d by elmindreda
Null: Add limited EGL context creation on Mesa

This provides very limited support for context creation via EGL on the
Null platform.  It supports Unix-like systems with a version of Mesa
that provides EGL_MESA_platform_surfaceless.

Even then, the actual framebuffer provided is not resized along with the
'window'.  That will hopefully change once context and framebuffer
creation are separated, but this commit should at least allow more
applications than before to run on the Null platform.
(commit: 738dd6f)
The file was modified src/internal.h (diff)
The file was modified src/null_window.c (diff)
The file was modified src/egl_context.c (diff)
The file was modified README.md (diff)
Commit 38ec7abd3baffdd3ec4e6f8cbb5384cda8882ae3 by elmindreda
Fix missing assertions for native access functions
(commit: 38ec7ab)
The file was modified src/wl_window.c (diff)
The file was modified src/osmesa_context.c (diff)
The file was modified src/win32_window.c (diff)
The file was modified src/wl_monitor.c (diff)
The file was modified src/cocoa_window.m (diff)
The file was modified src/glx_context.c (diff)
The file was modified src/x11_monitor.c (diff)
The file was modified src/egl_context.c (diff)
The file was modified src/nsgl_context.m (diff)
The file was modified src/win32_monitor.c (diff)
The file was modified src/wgl_context.c (diff)
The file was modified src/cocoa_monitor.m (diff)
The file was modified src/x11_window.c (diff)
Commit 68dcea0d7fcd91011695dbc74d6b1c999fcda2bf by elmindreda
Place assertions for handles after init check

This lets automated testing check that GLFW_NOT_INITIALIZED is emitted
for every public function.
(commit: 68dcea0)
The file was modified src/cocoa_monitor.m (diff)
The file was modified src/osmesa_context.c (diff)
The file was modified src/wgl_context.c (diff)
The file was modified src/x11_window.c (diff)
The file was modified src/window.c (diff)
The file was modified src/wl_monitor.c (diff)
The file was modified src/win32_window.c (diff)
The file was modified src/egl_context.c (diff)
The file was modified src/context.c (diff)
The file was modified src/glx_context.c (diff)
The file was modified src/monitor.c (diff)
The file was modified src/nsgl_context.m (diff)
The file was modified src/win32_monitor.c (diff)
The file was modified src/vulkan.c (diff)
The file was modified src/wl_window.c (diff)
The file was modified src/x11_monitor.c (diff)
The file was modified src/input.c (diff)
The file was modified src/cocoa_window.m (diff)
The file was modified src/internal.h (diff)
The file was modified src/wl_platform.h (diff)
Commit 3573c5a890b4878bb7357f71daaf49260c6fef15 by elmindreda
Wayland: Fix segfault when there is no seat

Bug encountered running on a headless instance of Weston.

Fixes #2517
(commit: 3573c5a)
The file was modified CONTRIBUTORS.md (diff)
The file was modified src/wl_init.c (diff)
The file was modified README.md (diff)
Commit 228e58262e18f2ee61799bd86d0be718b1e31f9f by elmindreda
EGL: Allow native access with defaults on Wayland

The intent of enforcing GLFW_EGL_CONTEXT_API for EGL native access
functions was to ensure that the application had requested the same
context creation API at window creation time that it then attempted
native access for.

With the 3.4 ABI this both isn't true anymore, as a single binary may
have multiple meanings of GLFW_NATIVE_CONTEXT_API, and is no longer
necessary, since glfwGetPlatform provides enough information to
disambiguate even without knowing what GLFW_PLATFORM was set to.

This all leaves the requirement that the context creation API be
GLFW_EGL_CONTEXT_API as just an unnecessary annoyance.

Fixes #2518
(commit: 228e582)
The file was modified README.md (diff)
The file was modified src/egl_context.c (diff)
The file was modified CONTRIBUTORS.md (diff)