]> git.sesse.net Git - nageru/commit
Small refactoring in PBOAllocator::init_frame().
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 13 May 2024 15:56:46 +0000 (17:56 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 13 May 2024 16:16:43 +0000 (18:16 +0200)
commitd1065378c0f1899aa3a74e9350577ee2a0003a27
treeb662426782548aa8b45ecd9a89ea40eb9b8d9151
parentc2845f746537c747a9a0177d5aa6b8ec141572a4
Small refactoring in PBOAllocator::init_frame().

Decouple the frame creation (which is now a static function)
from the act of pushing it on the freelist. This will make it easier
to resize the frame dynamically later.
nageru/pbo_frame_allocator.cpp
nageru/pbo_frame_allocator.h