17 #include "../RenderAllocator.h"
18 #include "../../GpuInitGroups.h"
22 const size_t preallocated_size,
23 const size_t device_id)
24 : preallocated_size_{preallocated_size}, device_id_{device_id} {
58 ::QueryRenderer::QueryRenderManager* render_manager) {
75 const size_t num_data_bytes,
76 const size_t device_id) {
81 const std::shared_ptr<::QueryRenderer::QueryDataLayout>& query_data_layout) {
86 const std::shared_ptr<::QueryRenderer::QueryDataLayout>& query_data_layout) {
int8_t * alloc(const size_t bytes) final
RenderAllocator * getRenderAllocator(size_t device_id)
RenderAllocator(int8_t *preallocated_ptr, const size_t preallocated_size, const size_t device_id)
size_t getCurrentChunkOffset() const
size_t getAllocatedSize() const
void bufferData(int8_t *data, const size_t num_data_bytes, const size_t device_id)
RenderAllocator * operator[](size_t device_id)
size_t getCurrentChunkSize() const
RenderAllocatorMap(::QueryRenderer::QueryRenderManager *render_manager)
void prepForRendering(const std::shared_ptr<::QueryRenderer::QueryDataLayout > &query_data_layout)
int8_t * getBasePtr() const
void setDataLayout(const std::shared_ptr<::QueryRenderer::QueryDataLayout > &query_data_layout)