Home
last modified time | relevance | path

Searched refs:GrDawnBuffer (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/gpu/dawn/
DGrDawnBuffer.cpp30 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()
[all …]
DGrDawnBuffer.h16 class GrDawnBuffer : public GrGpuBuffer {
18 GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, GrAccessPattern pattern);
20 ~GrDawnBuffer() override;
DGrDawnOpsRenderPass.cpp180 wgpu::Buffer vertex = static_cast<const GrDawnBuffer*>(vertexBuffer.get())->get(); in onBindBuffers()
184 wgpu::Buffer instance = static_cast<const GrDawnBuffer*>(instanceBuffer.get())->get(); in onBindBuffers()
188 wgpu::Buffer index = static_cast<const GrDawnBuffer*>(indexBuffer.get())->get(); in onBindBuffers()
DGrDawnGpu.cpp173 sk_sp<GrGpuBuffer> b(new GrDawnBuffer(this, size, type, accessPattern)); in onCreateBuffer()
362 srcBuffer.buffer = static_cast<GrDawnBuffer*>(slice.fBuffer)->get(); in uploadTextureData()
419 srcBuffer.buffer = static_cast<GrDawnBuffer*>(stagingBuffer.fBuffer)->get(); in onClearBackendTexture()
911 GrDawnBuffer* buffer = static_cast<GrDawnBuffer*>(fSubmittedStagingBuffers[i].get()); in moveStagingBuffersToBusyAndMapAsync()
/external/skia/gn/
Dgpu.gni781 "$_src/gpu/dawn/GrDawnBuffer.cpp",
782 "$_src/gpu/dawn/GrDawnBuffer.h",