Versions in this module
v0
Aug 2, 2026
Changes in this version
+
var ErrBackendNotFound = errors.New("hal: backend not found")
—
darwin/amd64, linux/amd64, windows/amd64
+
var ErrDeviceOutOfMemory = errors.New("hal: device out of memory")
—
darwin/amd64, linux/amd64, windows/amd64
+
var ErrDriverBug = errors.New("hal: driver bug detected (API spec violation)")
—
darwin/amd64, linux/amd64, windows/amd64
+
var ErrInvalidMapRange = errors.New("hal: invalid buffer map range or non-mappable buffer")
—
darwin/amd64, linux/amd64, windows/amd64
+
var ErrSurfaceOutdated = errors.New("hal: surface outdated")
—
darwin/amd64, linux/amd64, windows/amd64
+
var ErrTimestampsNotSupported = errors.New("hal: timestamp queries not supported by this backend")
—
darwin/amd64, linux/amd64, windows/amd64
+
var ErrUnsupportedSurfaceTarget = errors.New("hal: unsupported surface target")
—
darwin/amd64, linux/amd64, windows/amd64
+
var ErrZeroArea = errors.New("hal: surface width and height must be non-zero")
—
darwin/amd64, linux/amd64, windows/amd64
+
func RegisterBackendFactory(variant gputypes.Backend, factory BackendFactory)
—
darwin/amd64, linux/amd64, windows/amd64