Flutter Engine
The Flutter Engine
|
#include <BufferManager.h>
Friends | |
class | ScratchBuffer |
DrawBufferManager controls writing to buffer data ranges within larger, cacheable Buffers and automatically handles either mapping or copying via transfer buffer depending on what the GPU hardware supports for the requested buffer type and use case. It is intended for repeatedly uploading dynamic data to the GPU.
Definition at line 99 of file BufferManager.h.
skgpu::graphite::DrawBufferManager::DrawBufferManager | ( | ResourceProvider * | resourceProvider, |
const Caps * | caps, | ||
UploadBufferManager * | uploadManager | ||
) |
Definition at line 115 of file BufferManager.cpp.
skgpu::graphite::DrawBufferManager::~DrawBufferManager | ( | ) |
Definition at line 131 of file BufferManager.cpp.
|
inline |
Definition at line 146 of file BufferManager.h.
BindBufferInfo skgpu::graphite::DrawBufferManager::getIndexStorage | ( | size_t | requiredBytes | ) |
Definition at line 233 of file BufferManager.cpp.
std::pair< IndexWriter, BindBufferInfo > skgpu::graphite::DrawBufferManager::getIndexWriter | ( | size_t | requiredBytes | ) |
Definition at line 161 of file BufferManager.cpp.
BindBufferInfo skgpu::graphite::DrawBufferManager::getIndirectStorage | ( | size_t | requiredBytes, |
ClearBuffer | cleared = ClearBuffer::kNo |
||
) |
Definition at line 242 of file BufferManager.cpp.
ScratchBuffer skgpu::graphite::DrawBufferManager::getScratchStorage | ( | size_t | requiredBytes | ) |
Definition at line 255 of file BufferManager.cpp.
std::pair< UniformWriter, BindBufferInfo > skgpu::graphite::DrawBufferManager::getSsboWriter | ( | size_t | requiredBytes | ) |
Definition at line 181 of file BufferManager.cpp.
BindBufferInfo skgpu::graphite::DrawBufferManager::getStorage | ( | size_t | requiredBytes, |
ClearBuffer | cleared = ClearBuffer::kNo |
||
) |
Definition at line 211 of file BufferManager.cpp.
std::pair< void *, BindBufferInfo > skgpu::graphite::DrawBufferManager::getStoragePointer | ( | size_t | requiredBytes | ) |
Definition at line 201 of file BufferManager.cpp.
std::pair< void *, BindBufferInfo > skgpu::graphite::DrawBufferManager::getUniformPointer | ( | size_t | requiredBytes | ) |
Definition at line 191 of file BufferManager.cpp.
std::pair< UniformWriter, BindBufferInfo > skgpu::graphite::DrawBufferManager::getUniformWriter | ( | size_t | requiredBytes | ) |
Definition at line 171 of file BufferManager.cpp.
BindBufferInfo skgpu::graphite::DrawBufferManager::getVertexStorage | ( | size_t | requiredBytes | ) |
Definition at line 224 of file BufferManager.cpp.
std::pair< VertexWriter, BindBufferInfo > skgpu::graphite::DrawBufferManager::getVertexWriter | ( | size_t | requiredBytes | ) |
Definition at line 141 of file BufferManager.cpp.
|
inline |
Definition at line 106 of file BufferManager.h.
void skgpu::graphite::DrawBufferManager::returnVertexBytes | ( | size_t | unusedBytes | ) |
Definition at line 151 of file BufferManager.cpp.
void skgpu::graphite::DrawBufferManager::transferToRecording | ( | Recording * | recording | ) |
Definition at line 299 of file BufferManager.cpp.
|
friend |
Definition at line 155 of file BufferManager.h.