- 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-09-06 16:12:57 +02:00
parent 8a94f0ccd0
commit 5ec73d20c3
17 changed files with 25678 additions and 30 deletions
+5 -1
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)