Documentation ¶
Index ¶
- type DesktopTracer
- func (t *DesktopTracer) FindTraceTargets(ctx context.Context, str string) ([]*tracer.TraceTargetTreeNode, error)
- func (t *DesktopTracer) GetDevice() bind.Device
- func (t *DesktopTracer) GetTraceTargetNode(ctx context.Context, uri string, iconDensity float32) (*tracer.TraceTargetTreeNode, error)
- func (t *DesktopTracer) JoinPath(paths []string) string
- func (t *DesktopTracer) ProcessProfilingData(ctx context.Context, buffer *bytes.Buffer, capture *gapis_path.Capture, ...) (*service.ProfilingData, error)
- func (t *DesktopTracer) SetupTrace(ctx context.Context, o *service.TraceOptions) (tracer.Process, app.Cleanup, error)
- func (t *DesktopTracer) SplitPath(p string) (string, string)
- func (t *DesktopTracer) TraceConfiguration(ctx context.Context) (*service.DeviceTraceConfiguration, error)
- func (t *DesktopTracer) Validate(ctx context.Context, enableLocalFiles bool) (*service.DeviceValidationResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DesktopTracer ¶
type DesktopTracer struct {
// contains filtered or unexported fields
}
func NewTracer ¶
func NewTracer(dev bind.Device) *DesktopTracer
func (*DesktopTracer) FindTraceTargets ¶
func (t *DesktopTracer) FindTraceTargets(ctx context.Context, str string) ([]*tracer.TraceTargetTreeNode, error)
func (*DesktopTracer) GetDevice ¶
func (t *DesktopTracer) GetDevice() bind.Device
func (*DesktopTracer) GetTraceTargetNode ¶
func (t *DesktopTracer) GetTraceTargetNode(ctx context.Context, uri string, iconDensity float32) (*tracer.TraceTargetTreeNode, error)
func (*DesktopTracer) JoinPath ¶
func (t *DesktopTracer) JoinPath(paths []string) string
JoinPath provides a path.Join() for this specific target
func (*DesktopTracer) ProcessProfilingData ¶
func (t *DesktopTracer) ProcessProfilingData(ctx context.Context, buffer *bytes.Buffer, capture *gapis_path.Capture, staticAnalysisResult chan *api.StaticAnalysisProfileData, handleMapping map[uint64][]service.VulkanHandleMappingItem, syncData *sync.Data) (*service.ProfilingData, error)
func (*DesktopTracer) SetupTrace ¶
func (t *DesktopTracer) SetupTrace(ctx context.Context, o *service.TraceOptions) (tracer.Process, app.Cleanup, error)
func (*DesktopTracer) SplitPath ¶
func (t *DesktopTracer) SplitPath(p string) (string, string)
SplitPath performs a path.Split() operation for this specific target
func (*DesktopTracer) TraceConfiguration ¶
func (t *DesktopTracer) TraceConfiguration(ctx context.Context) (*service.DeviceTraceConfiguration, error)
TraceConfiguration returns the device's supported trace configuration.
func (*DesktopTracer) Validate ¶
func (t *DesktopTracer) Validate(ctx context.Context, enableLocalFiles bool) (*service.DeviceValidationResult, error)
Click to show internal directories.
Click to hide internal directories.