/external/skia/src/gpu/ |
D | GrResourceProvider.h | 145 sk_sp<const GrGpuBuffer> findOrMakeStaticBuffer(GrGpuBufferType intendedType, size_t size, 161 sk_sp<const GrGpuBuffer> findOrCreatePatternedIndexBuffer(const uint16_t* pattern, in findOrCreatePatternedIndexBuffer() 166 if (auto buffer = this->findByUniqueKey<const GrGpuBuffer>(key)) { in findOrCreatePatternedIndexBuffer() 179 sk_sp<const GrGpuBuffer> refQuadIndexBuffer() { in refQuadIndexBuffer() 205 sk_sp<GrGpuBuffer> createBuffer(size_t size, GrGpuBufferType intendedType, GrAccessPattern, 286 sk_sp<const GrGpuBuffer> createPatternedIndexBuffer(const uint16_t* pattern, 292 sk_sp<const GrGpuBuffer> createQuadIndexBuffer(); 297 sk_sp<const GrGpuBuffer> fQuadIndexBuffer;
|
D | GrGpuBuffer.cpp | 12 GrGpuBuffer::GrGpuBuffer(GrGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrGpuBuffer() function in GrGpuBuffer 20 void GrGpuBuffer::ComputeScratchKeyForDynamicVBO(size_t size, GrGpuBufferType intendedType, in ComputeScratchKeyForDynamicVBO() 34 void GrGpuBuffer::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
|
D | GrBufferAllocPool.cpp | 83 static_cast<GrGpuBuffer*>(block.fBuffer.get())->unmap(); \ 98 if (!buffer->isCpuBuffer() && static_cast<GrGpuBuffer*>(buffer)->isMapped()) { in deleteBlocks() 128 if (static_cast<GrGpuBuffer*>(buffer)->isMapped()) { 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() 346 if (static_cast<GrGpuBuffer*>(buffer)->isMapped()) { in createBlock() 366 fBufferPtr = static_cast<GrGpuBuffer*>(block.fBuffer.get())->map(); in createBlock() [all …]
|
D | GrResourceProvider.cpp | 269 sk_sp<const GrGpuBuffer> GrResourceProvider::findOrMakeStaticBuffer(GrGpuBufferType intendedType, in findOrMakeStaticBuffer() 273 if (auto buffer = this->findByUniqueKey<GrGpuBuffer>(key)) { in findOrMakeStaticBuffer() 282 return sk_sp<const GrGpuBuffer>(buffer); in findOrMakeStaticBuffer() 287 sk_sp<const GrGpuBuffer> GrResourceProvider::createPatternedIndexBuffer(const uint16_t* pattern, in createPatternedIndexBuffer() 295 sk_sp<GrGpuBuffer> buffer( in createPatternedIndexBuffer() 329 sk_sp<const GrGpuBuffer> GrResourceProvider::createQuadIndexBuffer() { in createQuadIndexBuffer() 346 sk_sp<GrGpuBuffer> GrResourceProvider::createBuffer(size_t size, GrGpuBufferType intendedType, in createBuffer() 360 GrGpuBuffer::ComputeScratchKeyForDynamicVBO(allocSize, intendedType, &key); in createBuffer() 362 sk_sp<GrGpuBuffer>(static_cast<GrGpuBuffer*>(this->cache()->findAndRefScratchResource( in createBuffer()
|
D | GrOnFlushResourceProvider.cpp | 84 sk_sp<GrGpuBuffer> GrOnFlushResourceProvider::makeBuffer(GrGpuBufferType intendedType, size_t size, in makeBuffer() 94 return sk_sp<GrGpuBuffer>( in makeBuffer() 98 sk_sp<const GrGpuBuffer> GrOnFlushResourceProvider::findOrMakeStaticBuffer( in findOrMakeStaticBuffer() 108 sk_sp<const GrGpuBuffer> buffer = in findOrMakeStaticBuffer()
|
D | GrGpuBuffer.h | 16 class GrGpuBuffer : public GrGpuResource, public GrBuffer { 94 GrGpuBuffer(GrGpu*, size_t sizeInBytes, GrGpuBufferType, GrAccessPattern);
|
D | GrGpu.h | 27 class GrGpuBuffer; variable 145 sk_sp<GrGpuBuffer> createBuffer(size_t size, GrGpuBufferType intendedType, 227 GrColorType bufferColorType, GrGpuBuffer* transferBuffer, size_t offset, 508 virtual sk_sp<GrGpuBuffer> onCreateBuffer(size_t size, GrGpuBufferType intendedType, 521 GrColorType colorType, GrGpuBuffer* transferBuffer, size_t offset,
|
D | GrOnFlushResourceProvider.h | 89 sk_sp<GrGpuBuffer> makeBuffer(GrGpuBufferType, size_t, const void* data = nullptr); 92 sk_sp<const GrGpuBuffer> findOrMakeStaticBuffer(GrGpuBufferType, size_t, const void* data,
|
/external/skia/src/gpu/ccpr/ |
D | GrCCPerFlushResources.h | 108 sk_sp<const GrGpuBuffer> refIndexBuffer() const { in refIndexBuffer() 112 sk_sp<const GrGpuBuffer> refVertexBuffer() const { in refVertexBuffer() 116 sk_sp<const GrGpuBuffer> refInstanceBuffer() const { in refInstanceBuffer() 134 const sk_sp<const GrGpuBuffer> fIndexBuffer; 135 const sk_sp<const GrGpuBuffer> fVertexBuffer; 136 const sk_sp<GrGpuBuffer> fInstanceBuffer;
|
D | GrCCCoverageProcessor.h | 103 void appendMesh(sk_sp<GrGpuBuffer> instanceBuffer, int instanceCount, int baseInstance, in appendMesh() 253 void appendGSMesh(sk_sp<const GrGpuBuffer> instanceBuffer, int instanceCount, int baseInstance, 255 void appendVSMesh(sk_sp<const GrGpuBuffer> instanceBuffer, int instanceCount, int baseInstance, 272 sk_sp<const GrGpuBuffer> fVSVertexBuffer; 273 sk_sp<const GrGpuBuffer> fVSIndexBuffer;
|
D | GrCCStroker.h | 16 class GrGpuBuffer; variable 119 sk_sp<GrGpuBuffer> fInstanceBuffer;
|
D | GrCCPathProcessor.h | 69 static sk_sp<const GrGpuBuffer> FindVertexBuffer(GrOnFlushResourceProvider*); 70 static sk_sp<const GrGpuBuffer> FindIndexBuffer(GrOnFlushResourceProvider*);
|
D | GrCCPathProcessor.cpp | 37 sk_sp<const GrGpuBuffer> GrCCPathProcessor::FindVertexBuffer(GrOnFlushResourceProvider* onFlushRP) { in FindVertexBuffer() 67 sk_sp<const GrGpuBuffer> GrCCPathProcessor::FindIndexBuffer(GrOnFlushResourceProvider* onFlushRP) { in FindIndexBuffer()
|
/external/skia/src/gpu/vk/ |
D | GrVkTransferBuffer.h | 17 class GrVkTransferBuffer : public GrGpuBuffer, public GrVkBuffer { 33 this->GrGpuBuffer::fMapPtr = this->vkMap(this->getVkGpu()); in onMap() 53 typedef GrGpuBuffer INHERITED;
|
D | GrVkVertexBuffer.h | 16 class GrVkVertexBuffer : public GrGpuBuffer, public GrVkBuffer { 34 typedef GrGpuBuffer INHERITED;
|
D | GrVkIndexBuffer.h | 16 class GrVkIndexBuffer : public GrGpuBuffer, public GrVkBuffer { 34 typedef GrGpuBuffer INHERITED;
|
D | GrVkGpuCommandBuffer.h | 99 void bindGeometry(const GrGpuBuffer* indexBuffer, 100 const GrGpuBuffer* vertexBuffer, 101 const GrGpuBuffer* instanceBuffer);
|
D | GrVkGpuCommandBuffer.cpp | 593 void GrVkGpuRTCommandBuffer::bindGeometry(const GrGpuBuffer* indexBuffer, in bindGeometry() 594 const GrGpuBuffer* vertexBuffer, in bindGeometry() 595 const GrGpuBuffer* instanceBuffer) { in bindGeometry() 806 auto gpuVertexBuffer = static_cast<const GrGpuBuffer*>(vertexBuffer); in sendInstancedMeshToGpu() 807 auto gpuInstanceBuffer = static_cast<const GrGpuBuffer*>(instanceBuffer); in sendInstancedMeshToGpu() 828 auto gpuIndexxBuffer = static_cast<const GrGpuBuffer*>(indexBuffer); in sendIndexedInstancedMeshToGpu() 829 auto gpuVertexBuffer = static_cast<const GrGpuBuffer*>(vertexBuffer); in sendIndexedInstancedMeshToGpu() 830 auto gpuInstanceBuffer = static_cast<const GrGpuBuffer*>(instanceBuffer); in sendIndexedInstancedMeshToGpu()
|
D | GrVkVertexBuffer.cpp | 52 this->GrGpuBuffer::fMapPtr = this->vkMap(this->getVkGpu()); in onMap()
|
/external/skia/src/gpu/mock/ |
D | GrMockBuffer.h | 15 class GrMockBuffer : public GrGpuBuffer { 32 typedef GrGpuBuffer INHERITED;
|
D | GrMockGpu.h | 81 sk_sp<GrGpuBuffer> onCreateBuffer(size_t sizeInBytes, GrGpuBufferType, GrAccessPattern, 95 GrGpuBuffer* transferBuffer, size_t offset, size_t rowBytes) override { in onTransferPixels()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlBuffer.h | 18 class GrMtlBuffer: public GrGpuBuffer { 51 typedef GrGpuBuffer INHERITED;
|
D | GrMtlGpu.h | 156 sk_sp<GrGpuBuffer> onCreateBuffer(size_t, GrGpuBufferType, GrAccessPattern, 167 GrColorType, GrGpuBuffer*, in onTransferPixels() argument
|
/external/skia/src/gpu/ops/ |
D | GrTessellatingPathRenderer.cpp | 57 bool cache_match(GrGpuBuffer* vertexBuffer, SkScalar tol, int* actualCount) { in cache_match() 102 sk_sp<GrGpuBuffer> detachVertexBuffer() { return std::move(fVertexBuffer); } in detachVertexBuffer() 105 sk_sp<GrGpuBuffer> fVertexBuffer; 265 sk_sp<GrGpuBuffer> cachedVertexBuffer(rp->findByUniqueKey<GrGpuBuffer>(key)); in draw() 290 sk_sp<GrGpuBuffer> vb = allocator.detachVertexBuffer(); in draw()
|
/external/skia/src/gpu/gl/ |
D | GrGLBuffer.h | 17 class GrGLBuffer : public GrGpuBuffer { 65 typedef GrGpuBuffer INHERITED;
|