CommandQueueMT: Pre-allocate memory to avoid a bunch of allocations at startup
This commit is contained in:
@ -325,9 +325,7 @@ class CommandQueueMT {
|
||||
|
||||
/***** BASE *******/
|
||||
|
||||
enum {
|
||||
DEFAULT_COMMAND_MEM_SIZE_KB = 256,
|
||||
};
|
||||
static const uint32_t DEFAULT_COMMAND_MEM_SIZE_KB = 64;
|
||||
|
||||
BinaryMutex mutex;
|
||||
LocalVector<uint8_t> command_mem;
|
||||
|
||||
Reference in New Issue
Block a user