MCPcopy Create free account
hub / github.com/cogentcore/core / MemCmdStart

Method MemCmdStart

vgpu/system.go:490–494  ·  view source on GitHub ↗

Memory utils MemCmdStart starts a one-time memory command using the Memory CmdPool and Device associated with this System Use this for other random memory transfer commands.

()

Source from the content-addressed store, hash-verified

488// Memory CmdPool and Device associated with this System
489// Use this for other random memory transfer commands.
490func (sy *System) MemCmdStart() vk.CommandBuffer {
491 cmd := sy.Mem.CmdPool.NewBuffer(&sy.Device)
492 CmdBeginOneTime(cmd)
493 return cmd
494}
495
496// MemCmdEndSubmitWaitFree submits current one-time memory command
497// using the Memory CmdPool and Device associated with this System

Callers 5

SetFrameImageMethod · 0.80
mainFunction · 0.80
ImageMethod · 0.80
ImageCopyMethod · 0.80
DepthImageMethod · 0.80

Calls 2

CmdBeginOneTimeFunction · 0.85
NewBufferMethod · 0.45

Tested by

no test coverage detected