build

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package build contains information about they type of build currently running.

Index

Constants

View Source
const DisableThreadChecks = false

DisableThreadChecks set to false enables the thread safety checks for logging of incorrect usage.

View Source
const HasHints = false

HasHints is false to indicate that hints are not currently switched on. To enable please rebuild with "-tags hints" parameters.

View Source
const HasNativeMenu = false

HasNativeMenu is true if the app is built with support for native menu.

View Source
const IsFlatpak = false

IsFlatpak is true if the binary is compiled for a Flatpak package.

Mode is the application's build mode.

View Source
const NoAnimations = false

NoAnimations is true if the application was built without animations by passing the no_animations build tag.

View Source
const NoMetadata = false

NoMetadata is false if the compiler flags have not turned off metadata support.

Variables

View Source
var IsWayland = false

IsWayland is true when compiling for the wayland windowing system, or when auto-detecting (the default build) and the Wayland backend was loaded at runtime. It starts false here — the default build and any forced `x11` build — and the driver sets it true after glfw.Init when GLFW selected Wayland (see loop_desktop.go). A forced `x11` build leaves it false.

View Source
var PartialRepaint = partialRepaintDefault && partialRepaintAllowed(os.Getenv("BELLUI_PARTIAL_REPAINT"))

PartialRepaint is whether the drivers repaint only the dirty region: each frame clears and redraws only what refreshed or moved objects cover in the persistent canvas texture, and keeps the rest. It is on by default on desktop, where it is validated pixel for pixel against a full repaint (BELLUI_PARTIAL_VERIFY), and off on mobile and the web until it is there too (#496). The partialrepaint and nopartialrepaint build tags turn it on or off anywhere; BELLUI_PARTIAL_REPAINT=0 turns it off at run time, without a rebuild. It is read once at start-up.

Functions

func MigratedToBelluiDo

func MigratedToBelluiDo() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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