/third_party/skia/src/gpu/ |
D | GrSimpleMesh.h | 22 void set(sk_sp<const GrBuffer> vertexBuffer, int vertexCount, int baseVertex); 23 void setIndexed(sk_sp<const GrBuffer> indexBuffer, int indexCount, int baseIndex, 25 sk_sp<const GrBuffer> vertexBuffer, int baseVertex); 26 void setIndexedPatterned(sk_sp<const GrBuffer> indexBuffer, int indexCount, 28 sk_sp<const GrBuffer> vertexBuffer, int patternVertexCount, 31 sk_sp<const GrBuffer> fIndexBuffer; 40 sk_sp<const GrBuffer> fVertexBuffer; 47 inline void GrSimpleMesh::set(sk_sp<const GrBuffer> vertexBuffer, int vertexCount, int baseVertex) { in set() 56 inline void GrSimpleMesh::setIndexed(sk_sp<const GrBuffer> indexBuffer, int indexCount, in setIndexed() 59 sk_sp<const GrBuffer> vertexBuffer, int baseVertex) { in setIndexed() [all …]
|
D | GrOpsRenderPass.h | 76 void bindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, 77 … sk_sp<const GrBuffer> vertexBuffer, GrPrimitiveRestart = GrPrimitiveRestart::kNo); 103 void drawIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, int drawCount); 111 void drawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, 164 sk_sp<const GrBuffer> fActiveIndexBuffer; 165 sk_sp<const GrBuffer> fActiveVertexBuffer; 166 sk_sp<const GrBuffer> fActiveInstanceBuffer; 187 …virtual void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, 188 sk_sp<const GrBuffer> vertexBuffer, GrPrimitiveRestart) = 0; 196 virtual void onDrawIndirect(const GrBuffer*, size_t offset, int drawCount) { in onDrawIndirect() argument [all …]
|
D | GrBuffer.h | 14 class GrBuffer { 16 GrBuffer(const GrBuffer&) = delete; 17 GrBuffer& operator=(const GrBuffer&) = delete; 19 virtual ~GrBuffer() = default; 33 GrBuffer() = default;
|
D | GrBufferAllocPool.h | 109 void* makeSpace(size_t size, size_t alignment, sk_sp<const GrBuffer>* buffer, size_t* offset); 139 sk_sp<const GrBuffer>* buffer, 143 sk_sp<GrBuffer> getBuffer(size_t size); 148 sk_sp<GrBuffer> fBuffer; 207 sk_sp<const GrBuffer>* buffer, 240 sk_sp<const GrBuffer>* buffer, 281 void* makeSpace(int indexCount, sk_sp<const GrBuffer>* buffer, int* startIndex); 310 sk_sp<const GrBuffer>* buffer, 323 GrDrawIndirectWriter makeSpace(int drawCount, sk_sp<const GrBuffer>* buffer, size_t* offset) { in makeSpace() 332 GrDrawIndexedIndirectWriter makeIndexedSpace(int drawCount, sk_sp<const GrBuffer>* buffer, in makeIndexedSpace()
|
D | GrOpFlushState.h | 132 void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>*, 134 uint16_t* makeIndexSpace(int indexCount, sk_sp<const GrBuffer>*, int* startIndex) final; 136 sk_sp<const GrBuffer>*, int* startVertex, 139 sk_sp<const GrBuffer>*, int* startIndex, 141 GrDrawIndirectWriter makeDrawIndirectSpace(int drawCount, sk_sp<const GrBuffer>* buffer, in makeDrawIndirectSpace() 146 sk_sp<const GrBuffer>* buffer, in makeDrawIndexedIndirectSpace() 228 void bindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, 229 sk_sp<const GrBuffer> vertexBuffer, 250 void drawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) { in drawIndirect() 253 void drawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) { in drawIndexedIndirect()
|
D | GrMeshDrawTarget.h | 52 virtual void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>*, 60 virtual uint16_t* makeIndexSpace(int indexCount, sk_sp<const GrBuffer>*, int* startIndex) = 0; 69 int fallbackVertexCount, sk_sp<const GrBuffer>*, 79 sk_sp<const GrBuffer>*, int* startIndex, 86 virtual GrDrawIndirectWriter makeDrawIndirectSpace(int drawCount, sk_sp<const GrBuffer>* buffer, 94 sk_sp<const GrBuffer>*,
|
D | GrBufferAllocPool.cpp | 97 GrBuffer* buffer = fBlocks.back().fBuffer.get(); in deleteBlocks() 126 GrBuffer* buffer = block.fBuffer.get(); in unmap() 145 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate() 150 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate() 155 const GrBuffer* buffer = fBlocks[i].fBuffer.get(); in validate() 159 GrBuffer* buffer = fBlocks[i].fBuffer.get(); in validate() 191 sk_sp<const GrBuffer>* buffer, in makeSpace() 244 sk_sp<const GrBuffer>* buffer, in makeSpaceAtLeast() 297 GrBuffer* buffer = block.fBuffer.get(); in putBack() 330 GrBuffer* buffer = prev.fBuffer.get(); in createBlock() [all …]
|
D | GrOpsRenderPass.cpp | 179 void GrOpsRenderPass::bindBuffers(sk_sp<const GrBuffer> indexBuffer, in bindBuffers() 180 sk_sp<const GrBuffer> instanceBuffer, in bindBuffers() 181 sk_sp<const GrBuffer> vertexBuffer, in bindBuffers() 272 void GrOpsRenderPass::drawIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, in drawIndirect() 298 void GrOpsRenderPass::drawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, in drawIndexedIndirect()
|
D | GrOpFlushState.cpp | 181 sk_sp<const GrBuffer>* buffer, int* startVertex) { in makeVertexSpace() 185 uint16_t* GrOpFlushState::makeIndexSpace(int indexCount, sk_sp<const GrBuffer>* buffer, in makeIndexSpace() 191 int fallbackVertexCount, sk_sp<const GrBuffer>* buffer, in makeVertexSpaceAtLeast() 198 sk_sp<const GrBuffer>* buffer, int* startIndex, in makeIndexSpaceAtLeast()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLOpsRenderPass.h | 43 void bindInstanceBuffer(const GrBuffer*, int baseInstance); 44 void bindVertexBuffer(const GrBuffer*, int baseVertex); 67 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, 68 sk_sp<const GrBuffer> vertexBuffer, GrPrimitiveRestart) override; 76 void onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) override; 77 void multiDrawArraysANGLEOrWebGL(const GrBuffer* drawIndirectBuffer, size_t offset, 79 void onDrawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, 81 void multiDrawElementsANGLEOrWebGL(const GrBuffer* drawIndirectBuffer, size_t offset,
|
D | GrGLOpsRenderPass.cpp | 99 void GrGLOpsRenderPass::onBindBuffers(sk_sp<const GrBuffer> indexBuffer, in onBindBuffers() 100 sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() 101 sk_sp<const GrBuffer> vertexBuffer, in onBindBuffers() 144 void GrGLOpsRenderPass::bindInstanceBuffer(const GrBuffer* instanceBuffer, int baseInstance) { in bindInstanceBuffer() 163 void GrGLOpsRenderPass::bindVertexBuffer(const GrBuffer* vertexBuffer, int baseVertex) { in bindVertexBuffer() 263 static const void* buffer_offset_to_gl_address(const GrBuffer* drawIndirectBuffer, size_t offset) { in buffer_offset_to_gl_address() 271 void GrGLOpsRenderPass::onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, in onDrawIndirect() 309 void GrGLOpsRenderPass::multiDrawArraysANGLEOrWebGL(const GrBuffer* drawIndirectBuffer, in multiDrawArraysANGLEOrWebGL() 346 void GrGLOpsRenderPass::onDrawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, in onDrawIndexedIndirect() 381 void GrGLOpsRenderPass::multiDrawElementsANGLEOrWebGL(const GrBuffer* drawIndirectBuffer, in multiDrawElementsANGLEOrWebGL()
|
D | GrGLVertexArray.h | 17 class GrBuffer; variable 42 const GrBuffer* vertexBuffer, 115 GrGLAttribArrayState* bindWithIndexBuffer(GrGLGpu* gpu, const GrBuffer* indexBuffer);
|
/third_party/skia/tests/ |
D | GrMeshTest.cpp | 54 sk_sp<const GrBuffer> getIndexBuffer(); 56 sk_sp<const GrBuffer> makeIndexBuffer(const uint16_t[], int count); 58 template<typename T> sk_sp<const GrBuffer> makeVertexBuffer(const SkTArray<T>& data) { in makeVertexBuffer() 61 template<typename T> sk_sp<const GrBuffer> makeVertexBuffer(const std::vector<T>& data) { in makeVertexBuffer() 64 template<typename T> sk_sp<const GrBuffer> makeVertexBuffer(const T* data, int count); 68 sk_sp<const GrBuffer> fIndexBuffer; 69 sk_sp<const GrBuffer> fIndexBuffer2; 70 sk_sp<const GrBuffer> fInstBuffer; 71 sk_sp<const GrBuffer> fVertBuffer; 72 sk_sp<const GrBuffer> fVertBuffer2; [all …]
|
D | GrPipelineDynamicStateTest.cpp | 125 sk_sp<const GrBuffer> vbuff) { in Make() 132 GrPipelineDynamicStateTestOp(GrScissorTest scissorTest, sk_sp<const GrBuffer> vbuff) in GrPipelineDynamicStateTestOp() 183 const sk_sp<const GrBuffer> fVertexBuffer; 224 sk_sp<const GrBuffer> vbuff(rp->createBuffer(sizeof(vdata), GrGpuBufferType::kVertex, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DCommandList.h | 81 void copyTextureRegionToBuffer(sk_sp<const GrBuffer> dst, 99 void addGrBuffer(sk_sp<const GrBuffer> buffer) { in addGrBuffer() 138 SkSTArray<kInitialTrackedResourcesCount, sk_sp<const GrBuffer>> fTrackedGpuBuffers; 171 sk_sp<const GrBuffer> vertexBuffer, size_t vertexStride, 172 sk_sp<const GrBuffer> instanceBuffer, size_t instanceStride); 173 void setIndexBuffer(sk_sp<const GrBuffer> indexBuffer); 219 const GrBuffer* fCurrentVertexBuffer = nullptr; 221 const GrBuffer* fCurrentInstanceBuffer = nullptr; 223 const GrBuffer* fCurrentIndexBuffer = nullptr;
|
D | GrD3DOpsRenderPass.h | 46 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, 47 sk_sp<const GrBuffer> vertexBuffer, GrPrimitiveRestart) override; 59 void onDrawIndirect(const GrBuffer*, size_t offset, int drawCount) override; 60 void onDrawIndexedIndirect(const GrBuffer*, size_t offset, int drawCount) override;
|
D | GrD3DPipelineState.h | 52 void bindBuffers(GrD3DGpu*, sk_sp<const GrBuffer> indexBuffer, 53 sk_sp<const GrBuffer> instanceBuffer, sk_sp<const GrBuffer> vertexBuffer,
|
D | GrD3DOpsRenderPass.cpp | 242 void GrD3DOpsRenderPass::onBindBuffers(sk_sp<const GrBuffer> indexBuffer, in onBindBuffers() 243 sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() 244 sk_sp<const GrBuffer> vertexBuffer, in onBindBuffers() 272 void GrD3DOpsRenderPass::onDrawIndirect(const GrBuffer* buffer, size_t offset, int drawCount) { in onDrawIndirect() 281 void GrD3DOpsRenderPass::onDrawIndexedIndirect(const GrBuffer* buffer, size_t offset, in onDrawIndexedIndirect()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlOpsRenderPass.h | 45 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, 46 sk_sp<const GrBuffer> vertexBuffer, GrPrimitiveRestart) override; 54 void onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, 56 void onDrawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, 66 void setVertexBuffer(GrMtlRenderCommandEncoder*, const GrBuffer*, size_t offset,
|
/third_party/skia/src/gpu/mock/ |
D | GrMockOpsRenderPass.h | 43 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() 44 sk_sp<const GrBuffer> vertexBuffer, GrPrimitiveRestart) override {} in onBindBuffers() 49 void onDrawIndirect(const GrBuffer*, size_t, int) override { this->noopDraw(); } in onDrawIndirect() argument 50 void onDrawIndexedIndirect(const GrBuffer*, size_t, int) override { this->noopDraw(); } in onDrawIndexedIndirect() argument
|
D | GrMockOpTarget.h | 46 void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>* buffer, in makeVertexSpace() 58 sk_sp<const GrBuffer>* buffer, int* startVertex, in makeVertexSpaceAtLeast() 70 GrDrawIndirectWriter makeDrawIndirectSpace(int drawCount, sk_sp<const GrBuffer>* buffer, in makeDrawIndirectSpace() 84 sk_sp<const GrBuffer>* buffer, in makeDrawIndexedIndirectSpace() 104 UNIMPL(uint16_t* makeIndexSpace(int, sk_sp<const GrBuffer>*, int*)) 105 UNIMPL(uint16_t* makeIndexSpaceAtLeast(int, int, sk_sp<const GrBuffer>*, int*, int*))
|
/third_party/skia/src/gpu/vk/ |
D | GrVkOpsRenderPass.h | 76 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, 77 sk_sp<const GrBuffer> vertexBuffer, GrPrimitiveRestart) override; 89 void onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) override; 90 void onDrawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t offset,
|
D | GrVkCommandBuffer.h | 48 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, sk_sp<const GrBuffer> buffer); 50 void bindIndexBuffer(GrVkGpu* gpu, sk_sp<const GrBuffer> buffer); 99 sk_sp<const GrBuffer> indirectBuffer, 105 sk_sp<const GrBuffer> indirectBuffer, 131 void addGrBuffer(sk_sp<const GrBuffer> buffer) { in addGrBuffer() 166 SkSTArray<16, sk_sp<const GrBuffer>> fTrackedGpuBuffers;
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnOpsRenderPass.h | 45 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, 46 sk_sp<const GrBuffer> vertexBuffer, GrPrimitiveRestart) override;
|
/third_party/skia/src/gpu/ops/ |
D | GrMeshDrawOp.cpp | 69 size_t vertexStride, sk_sp<const GrBuffer> indexBuffer, in PatternHelper() 77 size_t vertexStride, sk_sp<const GrBuffer> indexBuffer, in init() 84 sk_sp<const GrBuffer> vertexBuffer; in init()
|