Use a buffer pool to manage all buffers for allocation and deallocation,
define a maximum memory for the buffer pool. A buffer pool can allocate
many ring buffers until the max limit. Every ring buffer is reponsible for
push, reset, destory or flush copy cmds to command buffer.
This patch refactor buffer updating method by the buffer pool for Dawn
backend and implements both sync and async method to upload fish data.
Use a buffer pool to manage all buffers for allocation and deallocation, define a maximum memory for the buffer pool. A buffer pool can allocate many ring buffers until the max limit. Every ring buffer is reponsible for push, reset, destory or flush copy cmds to command buffer. This patch refactor buffer updating method by the buffer pool for Dawn backend and implements both sync and async method to upload fish data.