Documentation
¶
Overview ¶
Package build contains information about they type of build currently running.
Index ¶
Constants ¶
const DisableThreadChecks = false
DisableThreadChecks set to false enables the thread safety checks for logging of incorrect usage.
const HasHints = false
HasHints is false to indicate that hints are not currently switched on. To enable please rebuild with "-tags hints" parameters.
const HasNativeMenu = false
HasNativeMenu is true if the app is built with support for native menu.
const IsFlatpak = false
IsFlatpak is true if the binary is compiled for a Flatpak package.
const Mode = bellui.BuildStandard
Mode is the application's build mode.
const NoAnimations = false
NoAnimations is true if the application was built without animations by passing the no_animations build tag.
const NoMetadata = false
NoMetadata is false if the compiler flags have not turned off metadata support.
Variables ¶
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.
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.