Documentation
¶
Overview ¶
Package env provides environment variable management for rendering subsystems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HardwareSurveyor ¶ added in v0.23.0
type HardwareSurveyor struct {
// contains filtered or unexported fields
}
HardwareSurveyor implements port.HardwareSurveyor for Linux systems. It is safe for concurrent use after creation.
func NewHardwareSurveyor ¶ added in v0.23.0
func NewHardwareSurveyor() *HardwareSurveyor
NewHardwareSurveyor creates a new hardware surveyor.
func (*HardwareSurveyor) Survey ¶ added in v0.23.0
func (s *HardwareSurveyor) Survey(ctx context.Context) port.HardwareInfo
Survey detects and returns hardware information. Results are cached after the first call. Safe for concurrent use.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager implements port.RenderingEnvManager for configuring environment variables for GStreamer, WebKit, and GTK/GSK.
func (*Manager) ApplyEnvironment ¶
ApplyEnvironment sets all rendering environment variables. Must be called before GTK/WebKit initialization.
func (*Manager) DetectGPUVendor ¶
DetectGPUVendor identifies the primary GPU vendor from system info.
func (*Manager) GetAppliedVars ¶
GetAppliedVars returns a copy of applied environment variables.