Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrBufferAllocPool.cpp82 SkASSERT(!block.fBuffer->isCpuBuffer()); \
98 if (!buffer->isCpuBuffer() && static_cast<GrGpuBuffer*>(buffer)->isMapped()) { in deleteBlocks()
127 if (!buffer->isCpuBuffer()) { in unmap()
146 if (!buffer->isCpuBuffer() && !static_cast<const GrGpuBuffer*>(buffer)->isMapped()) { in validate()
151 SkASSERT(buffer->isCpuBuffer() || !static_cast<const GrGpuBuffer*>(buffer)->isMapped()); in validate()
156 SkASSERT(buffer->isCpuBuffer() || !static_cast<const GrGpuBuffer*>(buffer)->isMapped()); in validate()
160 if (!buffer->isCpuBuffer() && static_cast<GrGpuBuffer*>(buffer)->wasDestroyed()) { in validate()
312 if (!buffer->isCpuBuffer() && static_cast<GrGpuBuffer*>(buffer)->isMapped()) { in putBack()
345 if (!buffer->isCpuBuffer()) { in createBlock()
360 if (block.fBuffer->isCpuBuffer()) { in createBlock()
[all …]
DGrBuffer.h30 virtual bool isCpuBuffer() const = 0;
DGrCpuBuffer.h25 bool isCpuBuffer() const override { return true; } in isCpuBuffer() function
DGrGpuBuffer.h71 bool isCpuBuffer() const final { return false; } in isCpuBuffer() function
/external/skia/src/gpu/gl/
DGrGLVertexArray.cpp95 if (vertexBuffer->isCpuBuffer()) { in set()
203 if (ibuff->isCpuBuffer()) { in bindWithIndexBuffer()
DGrGLGpu.cpp907 SkASSERT(!transferBuffer->isCpuBuffer()); in onTransferPixels()
2104 SkASSERT(indexBuffer->isCpuBuffer() || in setupGeometry()
2116 SkASSERT(vertexBuffer->isCpuBuffer() || in setupGeometry()
2128 SkASSERT(instanceBuffer->isCpuBuffer() || in setupGeometry()
2151 if (buffer->isCpuBuffer()) { in bindBuffer()
2655 if (indexBuffer->isCpuBuffer()) { in element_ptr()
/external/skia/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp804 SkASSERT(!vertexBuffer || !vertexBuffer->isCpuBuffer()); in sendInstancedMeshToGpu()
805 SkASSERT(!instanceBuffer || !instanceBuffer->isCpuBuffer()); in sendInstancedMeshToGpu()
825 SkASSERT(!vertexBuffer || !vertexBuffer->isCpuBuffer()); in sendIndexedInstancedMeshToGpu()
826 SkASSERT(!instanceBuffer || !instanceBuffer->isCpuBuffer()); in sendIndexedInstancedMeshToGpu()
827 SkASSERT(!indexBuffer->isCpuBuffer()); in sendIndexedInstancedMeshToGpu()
/external/skia/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm278 SkASSERT(!vertexBuffer->isCpuBuffer());
288 SkASSERT(!instanceBuffer->isCpuBuffer());
331 SkASSERT(!indexBuffer->isCpuBuffer());