# 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

@@ -24,5 +24,10 @@ int main() {
PD::Os::UseDriver<PD::OsDriver>();
ColorTests();
std::cout << PD::Os::GetTime() << std::endl;
PD::Pool<int> pool;
pool.Init(90);
int* elems = pool.Allocate(5);
std::cout << std::format("Pool ({}/{})", pool.size(), pool.capacity())
<< std::endl;
return 0;
}