Searched refs:isCPUBacked (Results 1 – 8 of 8) sorted by relevance
37 bool isCPUBacked() const { return SkToBool(fCPUData); } in isCPUBacked() function114 virtual void onMap() { SkASSERT(this->isCPUBacked()); fMapPtr = fCPUData; } in onMap()115 virtual void onUnmap() { SkASSERT(this->isCPUBacked()); } in onUnmap()
62 SkASSERT(this->isCPUBacked()); in onUpdateData()68 if (!this->isCPUBacked() && SkIsPow2(fSizeInBytes) && in computeScratchKey()
304 bool attemptMap = block.fBuffer->isCPUBacked(); in createBlock()
402 SkASSERT(!buffer->isCPUBacked()); // We should only cache real VBOs. in createBuffer()
277 SkASSERT(!vertexBuffer->isCPUBacked());287 SkASSERT(!instanceBuffer->isCPUBacked());330 SkASSERT(!indexBuffer->isCPUBacked());
183 if (ibuff->isCPUBacked()) { in bindWithIndexBuffer()
871 SkASSERT(!transferBuffer->isCPUBacked()); in onTransferPixels()2122 if (buffer->isCPUBacked()) { in bindBuffer()2130 bufferState.fBufferZeroKnownBound = buffer->isCPUBacked(); in bindBuffer()
611 SkASSERT(!vertexBuffer->isCPUBacked()); in bindGeometry()620 SkASSERT(!instanceBuffer->isCPUBacked()); in bindGeometry()629 SkASSERT(!indexBuffer->isCPUBacked()); in bindGeometry()