alternative mutex impl on windows works but i really can't tell if it helps much. use larger size in deferred_command_list to cut down on resizes in big scenes on m:dur

This commit is contained in:
chss95cs@gmail.com
2022-08-14 10:26:50 -07:00
parent a037bdb2e8
commit c9b2d10e17
5 changed files with 58 additions and 7 deletions

View File

@@ -30,8 +30,11 @@ class D3D12CommandProcessor;
class DeferredCommandList {
public:
/*
chrispy: upped from 1_MiB to 4_MiB, m:durandal hits frequent resizes in large open maps
*/
DeferredCommandList(const D3D12CommandProcessor& command_processor,
size_t initial_size_bytes = 1_MiB);
size_t initial_size_bytes = 4_MiB);
void Reset();
void Execute(ID3D12GraphicsCommandList* command_list,