SDL2-FFI
view release on metacpan or search on metacpan
lib/SDL2/hints.pm view on Meta::CPAN
=item C<BypassWindowManager>
=back
=item C<SDL_HINT_QTWAYLAND_CONTENT_ORIENTATION>
A variable describing the content orientation on QtWayland-based platforms.
On QtWayland platforms, windows are rotated client-side to allow for custom
transitions. In order to correctly position overlays (e.g. volume bar) and
gestures (e.g. events view, close/minimize gestures), the system needs to know
in which orientation the application is currently drawing its contents.
This does not cause the window to be rotated or resized, the application needs
to take care of drawing the content in the right orientation (the framebuffer
is always in portrait mode).
This variable can be one of the following values:
=over
lib/SDL2/hints.pm view on Meta::CPAN
initialize the KMSDRM video backend.
The DRM subsystem has a concept of a "DRM master" which is a DRM client that
has the ability to set planes, set cursor, etc. When SDL is DRM master, it can
draw to the screen using the SDL rendering APIs. Without DRM master, SDL is
still able to process input and query attributes of attached displays, but it
cannot change display state or draw to the screen directly.
In some cases, it can be useful to have the KMSDRM backend even if it cannot be
used for rendering. An app may want to use SDL for input processing while using
another rendering API (such as an MMAL overlay on Raspberry Pi) or using its
own code to render to DRM overlays that SDL doesn't support.
This hint must be set before initializing the video subsystem.
This variable can be set to the following values:
=over
=item C<0>
SDL will allow usage of the KMSDRM backend without DRM master
( run in 1.775 second using v1.01-cache-2.11-cpan-49f99fa48dc )