diff options
author | Stephan Unverwerth <s.unverwerth@serenityos.org> | 2022-03-27 18:54:31 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-06 11:32:24 +0200 |
commit | 5bb76e9b6326c5b36e2e9e3d1d41d90012fafa11 (patch) | |
tree | ba6821e95bc05181bcca510e177a4912bd8cd317 /Meta | |
parent | 211d24a218459035959abfb46dc1937f669fc45d (diff) | |
download | serenity-5bb76e9b6326c5b36e2e9e3d1d41d90012fafa11.zip |
LibGL+LibGPU+LibSoftGPU: Load SoftGPU driver dynamically
This loads libsoftgpu.so during GLContext creation and instantiates the
device class which is then passed into the GLContext constructor.
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/Lagom/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index 88640f7ed1..e986d7b19a 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -346,12 +346,19 @@ if (BUILD_LAGOM) LIBS m LagomCompress LagomTextCodec LagomIPC ) + # GPU + file(GLOB LIBGPU_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGPU/*.cpp") + lagom_lib(GPU gpu + SOURCES ${LIBGPU_SOURCES} + LIBS dl + ) + # GL file(GLOB LIBGL_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGL/*.cpp") file(GLOB LIBGL_TEX_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGL/Tex/*.cpp") lagom_lib(GL gl SOURCES ${LIBGL_SOURCES} ${LIBGL_TEX_SOURCES} - LIBS m LagomGfx LagomSoftGPU) + LIBS m LagomGfx LagomGPU) # GUI-GML file(GLOB LIBGUI_GML_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGUI/GML/*.cpp") |