/external/skia/src/gpu/ |
D | GrGpuBuffer.cpp | 12 GrGpuBuffer::GrGpuBuffer(GrGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrGpuBuffer() function in GrGpuBuffer 20 void* GrGpuBuffer::map() { in map() 31 void GrGpuBuffer::unmap() { in unmap() 43 bool GrGpuBuffer::isMapped() const { return SkToBool(fMapPtr); } in isMapped() 45 bool GrGpuBuffer::updateData(const void* src, size_t srcSizeInBytes) { in updateData() 61 void GrGpuBuffer::ComputeScratchKeyForDynamicBuffer(size_t size, GrGpuBufferType intendedType, in ComputeScratchKeyForDynamicBuffer() 72 void GrGpuBuffer::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
|
D | GrResourceProvider.h | 190 sk_sp<const GrGpuBuffer> findOrMakeStaticBuffer(GrGpuBufferType intendedType, size_t size, 206 sk_sp<const GrGpuBuffer> findOrCreatePatternedIndexBuffer(const uint16_t* pattern, in findOrCreatePatternedIndexBuffer() 211 if (auto buffer = this->findByUniqueKey<const GrGpuBuffer>(key)) { in findOrCreatePatternedIndexBuffer() 224 sk_sp<const GrGpuBuffer> refNonAAQuadIndexBuffer() { in refNonAAQuadIndexBuffer() 242 sk_sp<const GrGpuBuffer> refAAQuadIndexBuffer() { in refAAQuadIndexBuffer() 264 sk_sp<GrGpuBuffer> createBuffer(size_t size, 370 sk_sp<const GrGpuBuffer> createPatternedIndexBuffer(const uint16_t* pattern, 376 sk_sp<const GrGpuBuffer> createNonAAQuadIndexBuffer(); 377 sk_sp<const GrGpuBuffer> createAAQuadIndexBuffer(); 382 sk_sp<const GrGpuBuffer> fNonAAQuadIndexBuffer; [all …]
|
D | GrClientMappedBufferManager.h | 33 BufferFinishedMessage(sk_sp<GrGpuBuffer> buffer, in BufferFinishedMessage() 41 sk_sp<GrGpuBuffer> fBuffer; 68 void insert(sk_sp<GrGpuBuffer> b); 78 std::forward_list<sk_sp<GrGpuBuffer>> fClientHeldBuffers; 81 void remove(const sk_sp<GrGpuBuffer>& b);
|
D | GrStagingBufferManager.h | 23 Slice(GrGpuBuffer* buffer, size_t offset, void* offsetMapPtr) in Slice() 25 GrGpuBuffer* fBuffer = nullptr; 52 StagingBuffer(sk_sp<GrGpuBuffer> buffer, void* mapPtr) in StagingBuffer() 56 sk_sp<GrGpuBuffer> fBuffer;
|
D | GrBufferAllocPool.cpp | 85 static_cast<GrGpuBuffer*>(block.fBuffer.get())->unmap(); \ 100 if (!buffer->isCpuBuffer() && static_cast<GrGpuBuffer*>(buffer)->isMapped()) { in deleteBlocks() 130 if (static_cast<GrGpuBuffer*>(buffer)->isMapped()) { in unmap() 148 if (!buffer->isCpuBuffer() && !static_cast<const GrGpuBuffer*>(buffer)->isMapped()) { in validate() 153 SkASSERT(buffer->isCpuBuffer() || !static_cast<const GrGpuBuffer*>(buffer)->isMapped()); in validate() 158 SkASSERT(buffer->isCpuBuffer() || !static_cast<const GrGpuBuffer*>(buffer)->isMapped()); in validate() 162 if (!buffer->isCpuBuffer() && static_cast<GrGpuBuffer*>(buffer)->wasDestroyed()) { in validate() 300 if (!buffer->isCpuBuffer() && static_cast<GrGpuBuffer*>(buffer)->isMapped()) { in putBack() 334 if (static_cast<GrGpuBuffer*>(buffer)->isMapped()) { in createBlock() 354 fBufferPtr = static_cast<GrGpuBuffer*>(block.fBuffer.get())->map(); in createBlock() [all …]
|
D | GrThreadSafeCache.h | 18 class GrGpuBuffer; variable 115 GrGpuBuffer* gpuBuffer() { return fGpuBuffer.get(); } in gpuBuffer() 116 sk_sp<GrGpuBuffer> refGpuBuffer() { return fGpuBuffer; } in refGpuBuffer() 118 void setGpuBuffer(sk_sp<GrGpuBuffer> gpuBuffer) { in setGpuBuffer() 142 VertexData(sk_sp<GrGpuBuffer> gpuBuffer, int numVertices, size_t vertexSize) in VertexData() 153 sk_sp<GrGpuBuffer> fGpuBuffer; 161 static sk_sp<VertexData> MakeVertexData(sk_sp<GrGpuBuffer> buffer,
|
D | GrRingBuffer.h | 39 GrGpuBuffer* fBuffer; 59 sk_sp<GrGpuBuffer> fCurrentBuffer; 60 std::vector<sk_sp<GrGpuBuffer>> fTrackedBuffers; // all buffers we've used in this submit
|
D | GrResourceProvider.cpp | 353 sk_sp<const GrGpuBuffer> GrResourceProvider::findOrMakeStaticBuffer(GrGpuBufferType intendedType, in findOrMakeStaticBuffer() 357 if (auto buffer = this->findByUniqueKey<GrGpuBuffer>(key)) { in findOrMakeStaticBuffer() 365 return sk_sp<const GrGpuBuffer>(buffer); in findOrMakeStaticBuffer() 370 sk_sp<const GrGpuBuffer> GrResourceProvider::createPatternedIndexBuffer(const uint16_t* pattern, in createPatternedIndexBuffer() 377 sk_sp<GrGpuBuffer> buffer( in createPatternedIndexBuffer() 414 sk_sp<const GrGpuBuffer> GrResourceProvider::createNonAAQuadIndexBuffer() { in createNonAAQuadIndexBuffer() 436 sk_sp<const GrGpuBuffer> GrResourceProvider::createAAQuadIndexBuffer() { in createAAQuadIndexBuffer() 460 sk_sp<GrGpuBuffer> GrResourceProvider::createBuffer(size_t size, GrGpuBufferType intendedType, in createBuffer() 480 GrGpuBuffer::ComputeScratchKeyForDynamicBuffer(allocSize, intendedType, &key); in createBuffer() 482 sk_sp<GrGpuBuffer>(static_cast<GrGpuBuffer*>(this->cache()->findAndRefScratchResource( in createBuffer()
|
D | GrGpu.h | 29 class GrGpuBuffer; variable 201 sk_sp<GrGpuBuffer> createBuffer(size_t size, GrGpuBufferType intendedType, 304 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, size_t rowBytes); 329 sk_sp<GrGpuBuffer> transferBuffer, size_t offset); 384 virtual void takeOwnershipOfBuffer(sk_sp<GrGpuBuffer>) {} in takeOwnershipOfBuffer() argument 715 virtual sk_sp<GrGpuBuffer> onCreateBuffer(size_t size, GrGpuBufferType intendedType, 732 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, 737 sk_sp<GrGpuBuffer> transferBuffer,
|
D | GrGpuBuffer.h | 16 class GrGpuBuffer : public GrGpuResource, public GrBuffer { 84 GrGpuBuffer(GrGpu*, size_t sizeInBytes, GrGpuBufferType, GrAccessPattern);
|
D | GrOnFlushResourceProvider.cpp | 103 sk_sp<GrGpuBuffer> GrOnFlushResourceProvider::makeBuffer(GrGpuBufferType intendedType, size_t size, in makeBuffer() 113 return sk_sp<GrGpuBuffer>( in makeBuffer() 117 sk_sp<const GrGpuBuffer> GrOnFlushResourceProvider::findOrMakeStaticBuffer( in findOrMakeStaticBuffer()
|
D | GrTransferFromRenderTask.h | 19 sk_sp<GrGpuBuffer> dstBuffer, in GrTransferFromRenderTask() 55 sk_sp<GrGpuBuffer> fDstBuffer;
|
D | GrOnFlushResourceProvider.h | 81 sk_sp<GrGpuBuffer> makeBuffer(GrGpuBufferType, size_t, const void* data = nullptr); 84 sk_sp<const GrGpuBuffer> findOrMakeStaticBuffer(GrGpuBufferType, size_t, const void* data,
|
D | GrClientMappedBufferManager.cpp | 29 void GrClientMappedBufferManager::insert(sk_sp<GrGpuBuffer> b) { in insert() 51 void GrClientMappedBufferManager::remove(const sk_sp<GrGpuBuffer>& b) { in remove()
|
/external/skia/src/gpu/vk/ |
D | GrVkPipelineStateDataManager.h | 16 class GrGpuBuffer; variable 30 std::pair<sk_sp<GrGpuBuffer>, bool> uploadUniforms(GrVkGpu* gpu, VkPipelineLayout, 43 sk_sp<GrGpuBuffer> fUniformBuffer;
|
D | GrVkGpu.h | 58 void takeOwnershipOfBuffer(sk_sp<GrGpuBuffer>) override; 175 void copyBuffer(sk_sp<GrGpuBuffer> srcBuffer, sk_sp<GrGpuBuffer> dstBuffer, 269 sk_sp<GrGpuBuffer> onCreateBuffer(size_t size, GrGpuBufferType type, GrAccessPattern, 283 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, 287 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) override;
|
D | GrVkBuffer.h | 17 class GrVkBuffer : public GrGpuBuffer { 69 using INHERITED = GrGpuBuffer;
|
/external/skia/src/gpu/dawn/ |
D | GrDawnGpu.h | 41 void takeOwnershipOfBuffer(sk_sp<GrGpuBuffer>) override; 160 sk_sp<GrGpuBuffer> onCreateBuffer(size_t size, GrGpuBufferType type, GrAccessPattern, 174 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, 179 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) override; 216 std::list<sk_sp<GrGpuBuffer>> fBusyStagingBuffers; 220 std::vector<sk_sp<GrGpuBuffer>> fSubmittedStagingBuffers;
|
D | GrDawnBuffer.h | 16 class GrDawnBuffer : public GrGpuBuffer { 49 using INHERITED = GrGpuBuffer;
|
/external/skia/src/gpu/mock/ |
D | GrMockBuffer.h | 15 class GrMockBuffer : public GrGpuBuffer { 32 using INHERITED = GrGpuBuffer;
|
D | GrMockGpu.h | 90 sk_sp<GrGpuBuffer> onCreateBuffer(size_t sizeInBytes, GrGpuBufferType, GrAccessPattern, 108 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, in onTransferPixelsTo() 114 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) override { in onTransferPixelsFrom()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlBuffer.h | 19 class GrMtlBuffer: public GrGpuBuffer { 54 using INHERITED = GrGpuBuffer;
|
D | GrMtlGpu.h | 126 void takeOwnershipOfBuffer(sk_sp<GrGpuBuffer>) override; 179 sk_sp<GrGpuBuffer> onCreateBuffer(size_t, GrGpuBufferType, GrAccessPattern, 193 sk_sp<GrGpuBuffer>, size_t offset, size_t rowBytes) override; 196 sk_sp<GrGpuBuffer>, size_t offset) override;
|
/external/skia/src/gpu/gl/ |
D | GrGLBuffer.h | 17 class GrGLBuffer : public GrGpuBuffer { 65 using INHERITED = GrGpuBuffer;
|
/external/skia/src/gpu/d3d/ |
D | GrD3DBuffer.h | 18 class GrD3DBuffer : public GrGpuBuffer { 60 using INHERITED = GrGpuBuffer;
|