Home
last modified time | relevance | path

Searched refs:mtlBuffer (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/experimental/graphite/src/mtl/
DMtlCommandBuffer.mm157 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 …]
DMtlBuffer.h25 id<MTLBuffer> mtlBuffer() const { return fBuffer.get(); } in mtlBuffer() function
/third_party/skia/src/gpu/mtl/
DGrMtlGpu.mm365 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 …]
DGrMtlOpsRenderPass.mm390 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();
DGrMtlBuffer.mm115 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer);
116 id<MTLBuffer> transferBuffer = mtlBuffer->mtlBuffer();
DGrMtlBuffer.h26 id<MTLBuffer> mtlBuffer() const { return fMtlBuffer; } in mtlBuffer() function
DGrMtlPipelineStateDataManager.mm131 renderCmdEncoder->setVertexBuffer(buffer->mtlBuffer(), slice.fOffset,
133 renderCmdEncoder->setFragmentBuffer(buffer->mtlBuffer(), slice.fOffset,
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlBuffer.h26 id<MTLBuffer> mtlBuffer() const { return fMtlBuffer; } in mtlBuffer() function
DGrMtlGpuCommandBuffer.mm395 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/
DCommandBufferMTL.h34 id<MTLBuffer> mtlBuffer,
DCommandBufferMTL.mm598 id<MTLBuffer> mtlBuffer,
626 [commandContext->EnsureBlit() copyFromBuffer:mtlBuffer
642 copyFromBuffer:mtlBuffer
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_command_buffer.mm1483 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])
DProgramMtl.mm1495 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()
Dmtl_command_buffer.h506 id<MTLBuffer> mtlBuffer,