Skip to content

Conversation

@nichcode
Copy link
Owner

Description

WHAT CHANGED:

  • Video: Added Wayland-based backend support.

  • Video: Added palGetVideoFeaturesEx() to check old and extended supported features.

  • Video: Added palGetWindowHandleInfoEx() to get extended window handles.

  • Video: Added palGetRawMouseWheelDelta() to get raw mouse wheel delta.

  • Video: Added PAL_CONFIG_BACKEND_GLES to PalFBConfigBackend enum.

  • Video: Added palSetPreferredInstance() to set the native instance or display PAL video should use rather than creating a new one.

  • Core: Added palPackFloat() to combine two floats into a single Int64 integer.

  • Core: Added palUnpackFloat() to retreive two floats from a single Int64 integer.

  • OpenGL: Added palGLSetInstance() o set the native instance or display PAL opengl should use. This must be set before calling palInitGL().

  • OpenGL: Added palGLGetBackend() to get the opengl backend.

  • Event: Added PAL_EVENT_WINDOW_DECORATION_MODE to PalEventType enum.

  • Event: Added PalDecorationMode enum.

WHY IT CHANGED:

  • To allow PAL to run on modern Linux environments that use Wayland instead of X11.

NOTES:

  • X11 is still supported
  • Tested on Ubuntu 22.04 LTS (GNOME)
  • Tested on Fedora 43 (KDE Plasma)

@nichcode nichcode marked this pull request as ready for review November 19, 2025 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants