Lines Matching refs:GrDawnBuffer
30 GrDawnBuffer::GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrDawnBuffer() function in GrDawnBuffer
55 GrDawnBuffer::~GrDawnBuffer() { in ~GrDawnBuffer()
58 void GrDawnBuffer::onMap() { in onMap()
67 fStagingBuffer = static_cast<GrDawnBuffer*>(slice.fBuffer)->get(); in onMap()
78 void GrDawnBuffer::onUnmap() { in onUnmap()
91 bool GrDawnBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData()
101 GrDawnGpu* GrDawnBuffer::getDawnGpu() const { in getDawnGpu()
107 auto buffer = static_cast<GrDawnBuffer*>(userData); in callback_read()
112 auto buffer = static_cast<GrDawnBuffer*>(userData); in callback_write()
116 void GrDawnBuffer::mapWriteAsync() { in mapWriteAsync()
120 void GrDawnBuffer::mapReadAsync() { in mapReadAsync()