aboutsummaryrefslogtreecommitdiff
path: root/src/common/host_memory.cpp
diff options
context:
space:
mode:
authorSDK-Chan <sdkchan@eden-emu.dev>2025-08-31 07:32:54 +0200
committercrueter <crueter@eden-emu.dev>2025-08-31 07:32:54 +0200
commit8dba6a2cb46baf14c8c8f9c44a24f94fa26ecfe0 (patch)
treee46dc1120889d13e520d643468b779d811aa43c0 /src/common/host_memory.cpp
parent4b5a8e06219ad0de3d27faac19b7ecb986175bbc (diff)
[gpu/NVDRV] Finalize, improve AllocObjCtx (#333)
Improves object allocation per channel, only allowing max amount of 6 objects contexts per channel. Previously objects were stored in a heap allocated vector which is sub-optimal for performance reasons. The new implementation instead uses a stack based array with a O(1) approach. This should boost performance in games which heavily rely on object context creation. Co-authored-by: MaranBr <maranbr@outlook.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/333 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: SDK-Chan <sdkchan@eden-emu.dev> Co-committed-by: SDK-Chan <sdkchan@eden-emu.dev>
Diffstat (limited to 'src/common/host_memory.cpp')
0 files changed, 0 insertions, 0 deletions