#include "src/gpu/ganesh/GrMeshDrawTarget.h"
#include "src/gpu/BufferWriter.h"
#include "src/gpu/ganesh/GrResourceProvider.h"
uint32_t GrMeshDrawTarget::contextUniqueID() const { … }
template<typename W>
static W make_writer(void* p, int count, size_t elementSize) { … }
skgpu::VertexWriter GrMeshDrawTarget::makeVertexWriter(
size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>* buffer, int* startVertex) { … }
skgpu::IndexWriter GrMeshDrawTarget::makeIndexWriter(
int indexCount, sk_sp<const GrBuffer>* buffer, int* startIndex) { … }
skgpu::VertexWriter GrMeshDrawTarget::makeVertexWriterAtLeast(
size_t vertexSize, int minVertexCount, int fallbackVertexCount,
sk_sp<const GrBuffer>* buffer, int* startVertex, int* actualVertexCount) { … }
skgpu::IndexWriter GrMeshDrawTarget::makeIndexWriterAtLeast(
int minIndexCount, int fallbackIndexCount, sk_sp<const GrBuffer>* buffer,
int* startIndex, int* actualIndexCount) { … }