mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:37:34 +00:00
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.
This commit is contained in:
parent
211d24a218
commit
5bb76e9b63
11 changed files with 165 additions and 9 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue