mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-07 06:39:06 +00:00
(Merge of #3495 + #3108) This PR works around to simplify math operations on hot pointers inside the access and requests to the cache of buffers and texture cache, removing previous logic of indirection and replaced by a PoD approach. This will ensure less CPU times spended on the same request and flow directly into another chain of the render, in the same way, command queue currently uses an internal mutex that constraints the flow of data within the GPU threads, we're moving over a single command, I verified to keep using mutexes instead of internal mutex + mutex per operation, which are resolved by themselves. In simplier words, this aims to improve performance on those games and devices where the waits for next orders on GPU commands were heavier than a single verification. Co-Authored-by: @CamilleLaVey Co-Authored-by: @Lizzie Co-authored-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3579 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev> |
||
|---|---|---|
| .. | ||
| accelerated_swizzle.cpp | ||
| accelerated_swizzle.h | ||
| decode_bc.cpp | ||
| decode_bc.h | ||
| descriptor_table.h | ||
| format_lookup_table.cpp | ||
| format_lookup_table.h | ||
| formatter.cpp | ||
| formatter.h | ||
| image_base.cpp | ||
| image_base.h | ||
| image_info.cpp | ||
| image_info.h | ||
| image_view_base.cpp | ||
| image_view_base.h | ||
| image_view_info.cpp | ||
| image_view_info.h | ||
| render_targets.h | ||
| samples_helper.h | ||
| texture_cache.cpp | ||
| texture_cache.h | ||
| texture_cache_base.h | ||
| types.h | ||
| util.cpp | ||
| util.h | ||