# 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user