Find a file
Ziyao 4468981c1c
drm: Validate conn before dereference in CDRMAtomicRequest::commit() (#108)
During startup, CDRMAtomicImpl::reset() may emit a call to method
commit of a CDRMAtomicRequest instance with member "conn" uninitialized,
leading to a segfault. Validate the the pointer before dereference it as
a workaround.

Fixes: 55ac962 ("DRM: preliminary atomic support")
Closes: https://github.com/hyprwm/aquamarine/issues/107

Signed-off-by: Yao Zi <ziyao@disroot.org>
2024-11-18 19:43:51 +00:00
.github/workflows CI: disable tests 2024-07-01 19:14:37 +03:00
data drm: implement edid parsing 2024-07-02 13:15:56 +02:00
docs drm: add AQ_NO_MODIFIERS to try to mitigate hardware limitations (#77) 2024-09-06 01:00:39 +01:00
include/aquamarine drm: fix fences according to spec (#105) 2024-11-11 21:29:19 +00:00
nix nix: add stdenvAdapters 2024-11-07 10:40:22 +02:00
protocols Wayland: Initial progress 2024-06-18 18:45:05 +02:00
src drm: Validate conn before dereference in CDRMAtomicRequest::commit() (#108) 2024-11-18 19:43:51 +00:00
tests backend: rework event loop api 2024-06-27 00:07:59 +02:00
.clang-format core: Initial stuff 2024-06-18 11:38:26 +02:00
.gitignore Wayland: Initial progress 2024-06-18 18:45:05 +02:00
aquamarine.pc.in core: Initial stuff 2024-06-18 11:38:26 +02:00
CMakeLists.txt props: bump version to 0.5.0 2024-11-16 16:34:41 +00:00
flake.lock DRM/Output: Implement CTM support (#92) 2024-10-07 19:40:37 +01:00
flake.nix flake.nix: remove libinput overlay 2024-08-30 14:09:59 +03:00
LICENSE Initial commit 2024-06-18 10:56:51 +02:00
README.md README: update state 2024-07-01 20:42:25 +02:00
VERSION props: bump version to 0.5.0 2024-11-16 16:34:41 +00:00

Aquamarine

Aquamarine is a very light linux rendering backend library. It provides basic abstractions for an application to render on a Wayland session (in a window) or a native DRM session.

It is agnostic of the rendering API (Vulkan/OpenGL) and designed to be lightweight, performant, and minimal.

Aquamarine provides no bindings for other languages. It is C++-only.

Stability

Aquamarine depends on the ABI stability of the stdlib implementation of your compiler. Sover bumps will be done only for aquamarine ABI breaks, not stdlib.

Building

cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`

TODOs

  • Wayland backend
  • DRM backend (DRM / KMS / libinput)
  • Virtual backend (aka. Headless)
  • Hardware plane support