# Work at gfx driver system

- Update pool to use template allocator directly instead of std::vector
- Add a GfxDriver config Template to be able to modify settings like allocators / Types for specific Drivers
- Add glad
This commit is contained in:
2026-03-16 15:19:12 +01:00
parent 41b612ec0a
commit 4924d86bc0
17 changed files with 25678 additions and 28 deletions

View File

@@ -17,8 +17,11 @@ if(${PD_BUILD_TOOLS})
add_subdirectory(tools)
endif()
add_subdirectory(vendor)
# # Include Library Source
set(PD_SOURCES
# Core
source/core/bits.cpp
source/core/color.cpp
@@ -26,6 +29,7 @@ set(PD_SOURCES
source/core/strings.cpp
source/drivers/os.cpp
source/drivers/gfx.cpp
)
if(${PD_BUILD_SHARED})
@@ -83,7 +87,6 @@ install(FILES
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/palladium
)
find_program(CLANG_FORMAT clang-format)
file(GLOB_RECURSE PD_FMTFILES CONFIGURE_DEPENDS
@@ -96,4 +99,5 @@ add_custom_target(pd-clang-format
COMMENT "Formatting Project Sources"
)
add_subdirectory(backends)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/tests)