Lines Matching refs:GrMtlBuffer
8 #include "GrMtlBuffer.h"
19 sk_sp<GrMtlBuffer> GrMtlBuffer::Make(GrMtlGpu* gpu, size_t size, GrBufferType intendedType,
24 sk_sp<GrMtlBuffer> buffer(new GrMtlBuffer(gpu, size, intendedType, accessPattern));
31 GrMtlBuffer::GrMtlBuffer(GrMtlGpu* gpu, size_t size, GrBufferType intendedType, function
37 // synchronize gpu and cpu access of a resource yet. See comments in GrMtlBuffer::internalMap()
54 GrMtlBuffer::~GrMtlBuffer() { function
60 bool GrMtlBuffer::onUpdateData(const void* src, size_t srcInBytes) {
86 inline GrMtlGpu* GrMtlBuffer::mtlGpu() const {
91 void GrMtlBuffer::onAbandon() {
99 void GrMtlBuffer::onRelease() {
110 void GrMtlBuffer::internalMap(size_t sizeInBytes) {
138 void GrMtlBuffer::internalUnmap(size_t sizeInBytes) {
169 void GrMtlBuffer::onMap() {
173 void GrMtlBuffer::onUnmap() {
178 void GrMtlBuffer::validate() const {