mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:27:44 +00:00

Framebuffer object is allocated using OpenGL's API and is not platform specific which means it could be used on both macOS and Linux unlike EGL specific PBuffer.
13 lines
278 B
CMake
13 lines
278 B
CMake
include(accelerated_graphics)
|
|
|
|
if (HAS_ACCELERATED_GRAPHICS)
|
|
set(SOURCES
|
|
GL.cpp
|
|
Context.cpp
|
|
Painter.cpp
|
|
Program.cpp
|
|
)
|
|
|
|
serenity_lib(LibAccelGfx accelgfx)
|
|
target_link_libraries(LibAccelGfx PRIVATE LibGfx ${ACCEL_GFX_LIBS})
|
|
endif()
|