Home
last modified time | relevance | path

Searched refs:GrIndexBuffer (Results 1 – 25 of 35) sorted by relevance

12

/external/skia/src/gpu/
DGrResourceProvider.h17 class GrIndexBuffer; variable
58 const GrIndexBuffer* findOrCreateInstancedIndexBuffer(const uint16_t* pattern, in findOrCreateInstancedIndexBuffer()
63 if (GrIndexBuffer* buffer = this->findAndRefTByUniqueKey<GrIndexBuffer>(key)) { in findOrCreateInstancedIndexBuffer()
76 const GrIndexBuffer* refQuadIndexBuffer() { in refQuadIndexBuffer()
77 if (GrIndexBuffer* buffer = in refQuadIndexBuffer()
78 this->findAndRefTByUniqueKey<GrIndexBuffer>(fQuadIndexBufferKey)) { in refQuadIndexBuffer()
114 GrIndexBuffer* createIndexBuffer(size_t size, BufferUsage, uint32_t flags);
160 const GrIndexBuffer* createInstancedIndexBuffer(const uint16_t* pattern,
166 const GrIndexBuffer* createQuadIndexBuffer();
DGrResourceProvider.cpp28 const GrIndexBuffer* GrResourceProvider::createInstancedIndexBuffer(const uint16_t* pattern, in createInstancedIndexBuffer()
36 GrIndexBuffer* buffer = this->createIndexBuffer(bufferSize, kStatic_BufferUsage, in createInstancedIndexBuffer()
66 const GrIndexBuffer* GrResourceProvider::createQuadIndexBuffer() { in createQuadIndexBuffer()
92 GrIndexBuffer* GrResourceProvider::createIndexBuffer(size_t size, BufferUsage usage, in createIndexBuffer()
106 GrIndexBuffer::ComputeScratchKey(size, true, &key); in createIndexBuffer()
115 return static_cast<GrIndexBuffer*>(resource); in createIndexBuffer()
DGrVertices.h24 const GrIndexBuffer* indexBuffer() const { return fIndexBuffer.get(); } in indexBuffer()
33 GrPendingIOResource<const GrIndexBuffer, kRead_GrIOType> fIndexBuffer;
69 const GrIndexBuffer* indexBuffer, in initIndexed()
99 const GrIndexBuffer* indexBuffer, in initInstanced()
DGrIndexBuffer.h17 class GrIndexBuffer : public GrGeometryBuffer {
37 GrIndexBuffer(GrGpu* gpu, size_t gpuMemorySize, bool dynamic, bool cpuBacked) in GrIndexBuffer() function
DGrBufferAllocPool.h170 class GrIndexBuffer; variable
203 const GrIndexBuffer** buffer,
DGrBatchFlushState.h80 uint16_t* makeIndexSpace(int indexCount, const GrIndexBuffer** buffer, int* startIndex);
179 uint16_t* makeIndexSpace(int indexCount, const GrIndexBuffer** buffer, int* startIndex) { in makeIndexSpace()
DGrGpu.h22 class GrIndexBuffer; variable
136 GrIndexBuffer* createIndexBuffer(size_t size, bool dynamic);
523 virtual GrIndexBuffer* onCreateIndexBuffer(size_t size, bool dynamic) = 0;
DGrBatchFlushState.cpp28 const GrIndexBuffer** buffer, int* startIndex) { in makeIndexSpace()
DGrBufferAllocPool.cpp368 const GrIndexBuffer** buffer, in makeSpace()
382 *buffer = (const GrIndexBuffer*) geomBuffer; in makeSpace()
DGrGpu.cpp222 GrIndexBuffer* GrGpu::createIndexBuffer(size_t size, bool dynamic) { in createIndexBuffer()
224 GrIndexBuffer* ib = this->onCreateIndexBuffer(size, dynamic); in createIndexBuffer()
/external/skia/src/gpu/vk/
DGrVkIndexBuffer.h17 class GrVkIndexBuffer : public GrIndexBuffer, public GrVkBuffer {
36 typedef GrIndexBuffer INHERITED;
DGrVkGpu.h147 GrIndexBuffer* onCreateIndexBuffer(size_t size, bool dynamic) override;
/external/skia/src/gpu/gl/
DGrGLIndexBuffer.h17 class GrGLIndexBuffer : public GrIndexBuffer {
45 typedef GrIndexBuffer INHERITED;
/external/skia/src/gpu/batches/
DGrVertexBatch.cpp20 size_t vertexStride, const GrIndexBuffer* indexBuffer, in init()
52 SkAutoTUnref<const GrIndexBuffer> quadIndexBuffer( in init()
DGrVertexBatch.h38 const GrIndexBuffer*, int verticesPerInstance, int indicesPerInstance,
DGrAAStrokeRectBatch.cpp126 static const GrIndexBuffer* GetIndexBuffer(GrResourceProvider* resourceProvider,
209 const SkAutoTUnref<const GrIndexBuffer> indexBuffer( in onPrepareDraws()
238 const GrIndexBuffer* AAStrokeRectBatch::GetIndexBuffer(GrResourceProvider* resourceProvider, in GetIndexBuffer()
DGrTInstanceBatch.h104 SkAutoTUnref<const GrIndexBuffer> indexBuffer( in onPrepareDraws()
DGrAAHairLinePathRenderer.cpp68 static const GrIndexBuffer* ref_quads_index_buffer(GrResourceProvider* resourceProvider) { in ref_quads_index_buffer()
102 static const GrIndexBuffer* ref_lines_index_buffer(GrResourceProvider* resourceProvider) { in ref_lines_index_buffer()
861 SkAutoTUnref<const GrIndexBuffer> linesIndexBuffer( in onPrepareDraws()
897 SkAutoTUnref<const GrIndexBuffer> quadsIndexBuffer( in onPrepareDraws()
DGrAtlasTextBatch.h103 SkAutoTUnref<const GrIndexBuffer> fIndexBuffer;
DGrAAFillRectBatch.cpp31 const GrIndexBuffer* get_index_buffer(GrResourceProvider* resourceProvider) { in get_index_buffer()
194 static const GrIndexBuffer* GetIndexBuffer(GrResourceProvider* rp) { in GetIndexBuffer()
DGrNinePatch.cpp99 SkAutoTUnref<const GrIndexBuffer> indexBuffer( in onPrepareDraws()
DGrDrawVerticesBatch.cpp119 const GrIndexBuffer* indexBuffer = nullptr; in onPrepareDraws()
DGrAALinearizingConvexPathRenderer.cpp178 const GrIndexBuffer* indexBuffer; in draw()
DGrNonAAFillRectBatch.cpp29 static const GrIndexBuffer* GetIndexBuffer(GrResourceProvider* rp) { in GetIndexBuffer()
/external/skia/include/gpu/
DGrContext.h32 class GrIndexBuffer; variable

12