Home
last modified time | relevance | path

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

/external/skia/src/gpu/mtl/
DGrMtlOpsRenderPass.mm313 indexBuffer:mtlIndexBuffer->mtlBuffer()
349 indexBuffer:mtlIndexBuffer->mtlBuffer()
373 indirectBuffer:mtlIndirectBuffer->mtlBuffer()
402 indexBuffer:mtlIndexBuffer->mtlBuffer()
404 indirectBuffer:mtlIndirectBuffer->mtlBuffer()
422 auto mtlBuffer = static_cast<const GrMtlBuffer*>(buffer);
423 id<MTLBuffer> mtlVertexBuffer = mtlBuffer->mtlBuffer();
427 size_t offset = mtlBuffer->offset() + vertexOffset;
DGrMtlGpu.mm402 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer);
422 [blitCmdEncoder copyFromBuffer: mtlBuffer->mtlBuffer()
437 [mtlBuffer->mtlBuffer() didModifyRange: NSMakeRange(slice.fOffset, combinedBufferSize)];
680 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer);
696 [blitCmdEncoder copyFromBuffer: mtlBuffer->mtlBuffer()
711 [mtlBuffer->mtlBuffer() didModifyRange: NSMakeRange(slice.fOffset, dataSize)];
989 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer);
1001 [blitCmdEncoder copyFromBuffer: mtlBuffer->mtlBuffer()
1017 [mtlBuffer->mtlBuffer() didModifyRange: NSMakeRange(slice.fOffset, combinedBufferSize)];
1086 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer);
[all …]
DGrMtlBuffer.h26 id<MTLBuffer> mtlBuffer() const { return fMtlBuffer; } in mtlBuffer() function
/external/skqp/src/gpu/mtl/
DGrMtlCopyManager.mm32 sk_sp<GrMtlBuffer> mtlBuffer = GrMtlBuffer::Make(fGpu, sizeof(vdata), kVertex_GrBufferType,
34 fVertexAttributeBuffer = mtlBuffer->mtlBuffer();
DGrMtlBuffer.h25 id<MTLBuffer> mtlBuffer() const { return fMtlBuffer; } in mtlBuffer() function
DGrMtlGpuCommandBuffer.mm280 auto mtlVertexBuffer = static_cast<const GrMtlBuffer*>(vertexBuffer)->mtlBuffer();
290 auto mtlInstanceBuffer = static_cast<const GrMtlBuffer*>(instanceBuffer)->mtlBuffer();
333 mtlIndexBuffer = static_cast<const GrMtlBuffer*>(indexBuffer)->mtlBuffer();
DGrMtlPipelineState.mm123 [renderCmdEncoder setVertexBuffer: fGeometryUniformBuffer->mtlBuffer()
128 [renderCmdEncoder setFragmentBuffer: fFragmentUniformBuffer->mtlBuffer()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_command_buffer.mm1484 id<MTLBuffer> mtlBuffer = (buffer ? buffer->get() : nil);
1486 return commonSetBuffer(shaderType, mtlBuffer, offset, index);
1501 id<MTLBuffer> mtlBuffer = (buffer ? buffer->get() : nil);
1503 return commonSetBuffer(shaderType, mtlBuffer, offset, index);
1507 id<MTLBuffer> mtlBuffer,
1512 if (shaderStates.buffers[index] == mtlBuffer)
1529 shaderStates.buffers[index] = mtlBuffer;
1533 .push([mtlBuffer ANGLE_MTL_RETAIN])
DProgramMtl.mm1458 mtl::BufferRef mtlBuffer = mLegalizedOffsetedUniformBuffers[bufferIndex].first;
1460 cmdEncoder->setBuffer(shaderType, mtlBuffer, offset, actualBufferIdx);
1514 mtl::BufferRef mtlBuffer = mLegalizedOffsetedUniformBuffers[bufferIndex].first;
1516 [bufferEncoder.metalArgBufferEncoder setBuffer:mtlBuffer->get()
Dmtl_command_buffer.h501 id<MTLBuffer> mtlBuffer,