Searched defs:SkMeshPriv (Results 1 – 1 of 1) sorted by relevance
106 struct SkMeshPriv { struct114 Buffer& operator=(const Buffer&) = delete;116 virtual const void* peek() const { return nullptr; } in peek()119 virtual sk_sp<const GrGpuBuffer> asGpuBuffer() const { return nullptr; } in asGpuBuffer()132 const void* peek() const override { return fData->data(); } in peek()134 size_t size() const override { return fData->size(); } in size()137 CpuBuffer(sk_sp<SkData> data) : fData(std::move(data)) {} in CpuBuffer()141 sk_sp<SkData> fData;144 using CpuIndexBuffer = CpuBuffer<IB>;145 using CpuVertexBuffer = CpuBuffer<VB>;[all …]