Home
last modified time | relevance | path

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

/external/skqp/src/gpu/mtl/
DGrMtlBuffer.mm56 SkASSERT(fMappedBuffer == nil);
77 SkASSERT(fMappedBuffer);
78 SkASSERT(srcInBytes == fMappedBuffer.length);
93 fMappedBuffer = nil;
103 fMappedBuffer = nil;
120 fMappedBuffer = fMtlBuffer;
121 fMapPtr = fMappedBuffer.contents;
125 // SkASSERT(fMappedBuffer == nil);
126 fMappedBuffer =
133 fMapPtr = fMappedBuffer.contents;
[all …]
DGrMtlBuffer.h50 id<MTLBuffer> fMappedBuffer; variable
/external/skia/src/gpu/mtl/
DGrMtlBuffer.mm66 SkASSERT(fMappedBuffer == nil);
85 SkASSERT(fMappedBuffer);
87 SkASSERT(SkAlign4(srcInBytes) == fMappedBuffer.length);
103 fMappedBuffer = nil;
113 fMappedBuffer = nil;
127 fMappedBuffer = fMtlBuffer;
131 SkASSERT(fMappedBuffer == nil);
140 fMappedBuffer =
143 fMapPtr = fMappedBuffer.contents;
156 fMappedBuffer = nil;
[all …]
DGrMtlBuffer.h52 id<MTLBuffer> fMappedBuffer; // buffer used by static buffers for uploads variable
/external/skia/src/gpu/
DGrSurfaceContext.cpp763 : fMappedBuffer(std::move(buffer)), fRowBytes(rowBytes) {} in Plane()
769 ~Plane() { SkASSERT(!fMappedBuffer); } in ~Plane()
775 if (fMappedBuffer) { in releaseMappedBuffer()
777 {std::move(fMappedBuffer), intendedRecipient}); in releaseMappedBuffer()
782 if (fMappedBuffer) { in data()
784 SkASSERT(fMappedBuffer->isMapped()); in data()
785 return fMappedBuffer->map(); in data()
795 sk_sp<GrGpuBuffer> fMappedBuffer; member in GrSurfaceContext::AsyncReadResult::Plane