diff options
| author | SDK-Chan <sdkchan@eden-emu.dev> | 2025-08-31 07:32:54 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-08-31 07:32:54 +0200 |
| commit | 8dba6a2cb46baf14c8c8f9c44a24f94fa26ecfe0 (patch) | |
| tree | e46dc1120889d13e520d643468b779d811aa43c0 /src/common | |
| parent | 4b5a8e06219ad0de3d27faac19b7ecb986175bbc (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')
0 files changed, 0 insertions, 0 deletions
