Commit Graph

21 Commits

Author SHA1 Message Date
Vaxry aac97a1fd1 version: bump to 0.4.0
also bump sover to 3
2024-09-02 11:16:50 +02:00
Florian Klink 71da3e00a0
CMakeLists: wayland.xml is in wayland-scanner pkgdatadir (#55)
See 6c4a695045/meson.build (L129-136)
2024-08-19 14:02:14 +01:00
Ziyao 9b33a38f86
cmake: link libOpenGL instead of legacy libGL (#44)
From cmake documentation, Linux-specific chapter:

  Projects may use the ``OpenGL::GL`` target (or ``OPENGL_LIBRARIES``
  variable) to use legacy GL interfaces.  These will use the legacy GL
  library located by ``OPENGL_gl_LIBRARY``, if available.  If
  ``OPENGL_gl_LIBRARY`` is empty or not found and GLVND is available,
  the ``OpenGL::GL`` target will use GLVND ``OpenGL::OpenGL`` and
  ``OpenGL::GLX`` (and the ``OPENGL_LIBRARIES`` variable will use the
  corresponding libraries).  Thus, for non-EGL-based Linux targets, the
  ``OpenGL::GL`` target is most portable.

which means linking with OpenGL::GL makes cmake find legacy libGL.so or
GLX libraries, and as for now, the former contains GLX symbols and cannot
be built without X libraries. Since we are working with EGL, it wouldn't
provide extra portability, either.

This patch switches to link aquamarine with modern OpenGL::OpenGL, which
contains core OpenGL API only, makes it possible to build on a
wayland-only system. Tested on eweOS, which is a distro without X
libraries.

Link: https://os.ewe.moe/

Signed-off-by: Yao Zi <ziyao@disroot.org>
2024-08-10 17:22:37 +01:00
Vaxry 940980244e version: bump to 0.3.0 2024-08-06 16:29:49 +02:00
Vaxry 544395c1b0 version/cmake: bump version to 0.2.0 2024-07-29 20:37:28 +02:00
Mihai Fufezan 00d6f0f820
CMake: fmt 2024-07-18 21:03:58 +03:00
Mihai Fufezan 949f105f53
CMake, Nix: add VERSION file 2024-07-18 21:03:42 +03:00
Ikalco ad8261ba99
api: add getting monitor render formats (#13) 2024-07-14 11:06:13 +02:00
Vaxry c4a5fafe76 drm: properly blit multigpu surfaces 2024-07-11 20:41:57 +02:00
flk 65d70c7a30
CMakeLists: require native hyprwayland-scanner (#8)
This would fix a cross-compile issue where hyprwayland-scanner is pulled in for
target but needs to run on host.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
2024-07-08 17:06:10 +02:00
Jan Beich 946c756414 cmake: add epoll-shim for some BSDs
ld: error: undefined reference due to --no-allow-shlib-undefined: timerfd_create
>>> referenced by libaquamarine.so.0.1.0
2024-07-07 16:10:40 +03:00
Jan Beich 92b4b01501 cmake: allow using any build directory
$ cmake -B /tmp/aquamarine_build
$ cmake --build /tmp/aquamarine_build
[...]
src/backend/drm/DRM.cpp:25:10: fatal error: 'hwdata.hpp' file not found
   25 | #include "hwdata.hpp"
      |          ^~~~~~~~~~~~
2024-07-07 16:10:40 +03:00
Vaxry 890d6177b2 cmake: require hw-s 0.4.0 2024-07-05 23:46:50 +02:00
Vaxry e6ba21bbdc cmake: fixup min versions in deps 2024-07-03 19:37:24 +02:00
Vaxry 04b2db8350 cmake: require hwdata 2024-07-02 13:16:00 +02:00
Vaxry 20a99be9f4 drm: implement edid parsing 2024-07-02 13:15:56 +02:00
Vaxry 2e0052a21d DRM: Steady progress on getting a usable session
modesetting, rendering, etc. Hyprland now renders properly, although input devices are yet to be implemented.
2024-06-24 23:22:02 +02:00
Vaxry f888bfb6e4 DRM: Init DRM/Libinput session code
Adds the bare basic of DRM code, which only initializes the environment atm. We cannot render yet.
2024-06-23 19:40:40 +02:00
Vaxry 790ce7dfbf Wayland: primitive but working backend
This implements enough for wayland to be a functioning backend.
2024-06-19 22:40:23 +02:00
Vaxry 01766c0956 Wayland: Initial progress 2024-06-18 18:45:05 +02:00
Vaxry 6ccfdd74df core: Initial stuff 2024-06-18 11:38:26 +02:00