Searched refs:mtlBuffer (Results 1 – 14 of 14) sorted by relevance
/third_party/skia/experimental/graphite/src/mtl/ |
D | MtlCommandBuffer.mm | 157 id<MTLBuffer> mtlBuffer = static_cast<const Buffer*>(uniformBuffer)->mtlBuffer(); 164 fActiveRenderCommandEncoder->setVertexBuffer(mtlBuffer, uniformOffset, 166 fActiveRenderCommandEncoder->setFragmentBuffer(mtlBuffer, uniformOffset, 177 id<MTLBuffer> mtlBuffer = static_cast<const Buffer*>(vertexBuffer)->mtlBuffer(); 179 fActiveRenderCommandEncoder->setVertexBuffer(mtlBuffer, vertexOffset, 183 id<MTLBuffer> mtlBuffer = static_cast<const Buffer*>(instanceBuffer)->mtlBuffer(); 185 fActiveRenderCommandEncoder->setVertexBuffer(mtlBuffer, instanceOffset, 192 fCurrentIndexBuffer = static_cast<const Buffer*>(indexBuffer)->mtlBuffer(); 274 id<MTLBuffer> mtlBuffer = static_cast<const Buffer*>(buffer)->mtlBuffer(); 281 blitCmdEncoder->copyFromTexture(mtlTexture, srcRect, mtlBuffer, bufferOffset, bufferRowBytes); [all …]
|
D | MtlBuffer.h | 25 id<MTLBuffer> mtlBuffer() const { return fBuffer.get(); } in mtlBuffer() function
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 365 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer); 391 [blitCmdEncoder copyFromBuffer: mtlBuffer->mtlBuffer() 407 [mtlBuffer->mtlBuffer() didModifyRange: NSMakeRange(slice.fOffset, combinedBufferSize)]; 465 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer); 466 id<MTLBuffer> transferBuffer = mtlBuffer->mtlBuffer(); 644 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer); 666 [blitCmdEncoder copyFromBuffer: mtlBuffer->mtlBuffer() 682 [mtlBuffer->mtlBuffer() didModifyRange: NSMakeRange(slice.fOffset, dataSize)]; 972 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer); 984 [blitCmdEncoder copyFromBuffer: mtlBuffer->mtlBuffer() [all …]
|
D | GrMtlOpsRenderPass.mm | 390 id<MTLBuffer> indexBuffer = mtlIndexBuffer->mtlBuffer(); 445 mtlIndexBuffer->mtlBuffer(), indexOffset, 477 mtlIndirectBuffer->mtlBuffer(), bufferOffset); 516 mtlIndexBuffer->mtlBuffer(), 518 mtlIndirectBuffer->mtlBuffer(), 545 auto mtlBuffer = static_cast<const GrMtlBuffer*>(buffer); 546 id<MTLBuffer> mtlVertexBuffer = mtlBuffer->mtlBuffer();
|
D | GrMtlBuffer.mm | 115 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer); 116 id<MTLBuffer> transferBuffer = mtlBuffer->mtlBuffer();
|
D | GrMtlBuffer.h | 26 id<MTLBuffer> mtlBuffer() const { return fMtlBuffer; } in mtlBuffer() function
|
D | GrMtlPipelineStateDataManager.mm | 131 renderCmdEncoder->setVertexBuffer(buffer->mtlBuffer(), slice.fOffset, 133 renderCmdEncoder->setFragmentBuffer(buffer->mtlBuffer(), slice.fOffset,
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlBuffer.h | 26 id<MTLBuffer> mtlBuffer() const { return fMtlBuffer; } in mtlBuffer() function
|
D | GrMtlGpuCommandBuffer.mm | 395 mtlIndexBuffer = static_cast<const GrMtlBuffer*>(indexBuffer)->mtlBuffer(); 445 mtlIndexBuffer = static_cast<const GrMtlBuffer*>(indexBuffer)->mtlBuffer(); 468 id<MTLBuffer> mtlVertexBuffer = buffer->mtlBuffer();
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | CommandBufferMTL.h | 34 id<MTLBuffer> mtlBuffer,
|
D | CommandBufferMTL.mm | 598 id<MTLBuffer> mtlBuffer, 626 [commandContext->EnsureBlit() copyFromBuffer:mtlBuffer 642 copyFromBuffer:mtlBuffer
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_command_buffer.mm | 1483 id<MTLBuffer> mtlBuffer = (buffer ? buffer->get() : nil); 1485 return commonSetBuffer(shaderType, mtlBuffer, offset, index); 1500 id<MTLBuffer> mtlBuffer = (buffer ? buffer->get() : nil); 1502 return commonSetBuffer(shaderType, mtlBuffer, offset, index); 1506 id<MTLBuffer> mtlBuffer, 1511 if (shaderStates.buffers[index] == mtlBuffer) 1528 shaderStates.buffers[index] = mtlBuffer; 1532 .push([mtlBuffer ANGLE_MTL_RETAIN])
|
D | ProgramMtl.mm | 1495 mtl::BufferRef mtlBuffer = mLegalizedOffsetedUniformBuffers[bufferIndex].first; 1497 cmdEncoder->setBuffer(shaderType, mtlBuffer, offset, actualBufferIdx); 1552 mtl::BufferRef mtlBuffer = mLegalizedOffsetedUniformBuffers[bufferIndex].first; 1554 [bufferEncoder.metalArgBufferEncoder setBuffer:mtlBuffer->get()
|
D | mtl_command_buffer.h | 506 id<MTLBuffer> mtlBuffer,
|