Home
last modified time | relevance | path

Searched refs:isCPUBacked (Results 1 – 8 of 8) sorted by relevance

/external/skqp/src/gpu/
DGrBuffer.h37 bool isCPUBacked() const { return SkToBool(fCPUData); } in isCPUBacked() function
114 virtual void onMap() { SkASSERT(this->isCPUBacked()); fMapPtr = fCPUData; } in onMap()
115 virtual void onUnmap() { SkASSERT(this->isCPUBacked()); } in onUnmap()
DGrBuffer.cpp62 SkASSERT(this->isCPUBacked()); in onUpdateData()
68 if (!this->isCPUBacked() && SkIsPow2(fSizeInBytes) && in computeScratchKey()
DGrBufferAllocPool.cpp304 bool attemptMap = block.fBuffer->isCPUBacked(); in createBlock()
DGrResourceProvider.cpp402 SkASSERT(!buffer->isCPUBacked()); // We should only cache real VBOs. in createBuffer()
/external/skqp/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm277 SkASSERT(!vertexBuffer->isCPUBacked());
287 SkASSERT(!instanceBuffer->isCPUBacked());
330 SkASSERT(!indexBuffer->isCPUBacked());
/external/skqp/src/gpu/gl/
DGrGLVertexArray.cpp183 if (ibuff->isCPUBacked()) { in bindWithIndexBuffer()
DGrGLGpu.cpp871 SkASSERT(!transferBuffer->isCPUBacked()); in onTransferPixels()
2122 if (buffer->isCPUBacked()) { in bindBuffer()
2130 bufferState.fBufferZeroKnownBound = buffer->isCPUBacked(); in bindBuffer()
/external/skqp/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp611 SkASSERT(!vertexBuffer->isCPUBacked()); in bindGeometry()
620 SkASSERT(!instanceBuffer->isCPUBacked()); in bindGeometry()
629 SkASSERT(!indexBuffer->isCPUBacked()); in bindGeometry()