backend

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Copyright © 2024 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemBackend

type SystemBackend interface {
	GetName() string
	GetEglExternalPlatformsDirs() ([]string, error)
	GetVulkanLayersDirs() ([]string, error)
	GetVulkanICDDirs() ([]string, error)

	// GBM stuff
	GetGBMLibDir() string
	GetEnvironmentDir() string

	// NVIDIA gpu functions
	GetNVIDIAEglWaylandLibDir() string
	GetNVIDIAEglGbmLibDir() string
	GetNVIDIADrivers() (*[]*specs.NVIDIADriver, error)
	GetNVIDIAKernelModules() (*[]*specs.KernelModule, error)
}

func NewBackend

func NewBackend(btype string) (SystemBackend, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL