Directories
¶
| Path | Synopsis |
|---|---|
|
Package androidtest is the harness of the device tests (SPEC §24.13): it creates the virtual devices of the emulator in .android-test/ at the module root, starts one headless in a process group of its own under `timeout -k`, with its own adb server and its own HOME so that nothing of the user's ~/.android is read or written, waits for it to boot, and stops it (and the adb server) afterwards.
|
Package androidtest is the harness of the device tests (SPEC §24.13): it creates the virtual devices of the emulator in .android-test/ at the module root, starts one headless in a process group of its own under `timeout -k`, with its own adb server and its own HOME so that nothing of the user's ~/.android is read or written, waits for it to boot, and stops it (and the adb server) afterwards. |
|
Package androidtool builds, installs and signs Android apps for glutter-android (SPEC §24.1): it finds the SDK and the NDK, generates the manifest, runs the Go toolchain once per ABI, links the resources with aapt2, packs the APK with the embedding's classes.dex, aligns and signs it.
|
Package androidtool builds, installs and signs Android apps for glutter-android (SPEC §24.1): it finds the SDK and the NDK, generates the manifest, runs the Go toolchain once per ABI, links the resources with aapt2, packs the APK with the embedding's classes.dex, aligns and signs it. |
|
Package audiocvt converts and mixes audio samples (SPEC §28.3): the conversion between sample types, the mixing between channel layouts, the resampler and the converter that a stream of package audio uses.
|
Package audiocvt converts and mixes audio samples (SPEC §28.3): the conversion between sample types, the mixing between channel layouts, the resampler and the converter that a stream of package audio uses. |
|
Package dartfmt formats numbers the way Dart's toString and toStringAsFixed do, so that text printed by ported Flutter code (diagnostics, dumps) reads the same.
|
Package dartfmt formats numbers the way Dart's toString and toStringAsFixed do, so that text printed by ported Flutter code (diagnostics, dumps) reads the same. |
|
Package dbus holds the D-Bus services, in pure Go on godbus: tray, notifications, portals, settings and AT-SPI2.
|
Package dbus holds the D-Bus services, in pure Go on godbus: tray, notifications, portals, settings and AT-SPI2. |
|
atspi
Package atspi is the accessibility bridge for Linux desktops (SPEC §8.10): it mirrors the framework's semantics tree as AT-SPI2 objects on the accessibility bus, so that screen readers such as Orca can read the app and act on it.
|
Package atspi is the accessibility bridge for Linux desktops (SPEC §8.10): it mirrors the framework's semantics tree as AT-SPI2 objects on the accessibility bus, so that screen readers such as Orca can read the app and act on it. |
|
fakebus
Package fakebus is an in-process D-Bus for tests (SPEC §17).
|
Package fakebus is an in-process D-Bus for tests (SPEC §17). |
|
Package engine wires the platform, the renderer and the text layout into the contracts of package ui, and owns the run loop.
|
Package engine wires the platform, the renderer and the text layout into the contracts of package ui, and owns the run loop. |
|
Package fakeclock is a clock that a test moves by hand, so that timers and frame times in tests need no sleeping.
|
Package fakeclock is a clock that a test moves by hand, so that timers and frame times in tests need no sleeping. |
|
Package gamepaddb is the model of a pad that SPEC §28.1 ports from SDL 3 (zlib; see third_party/sdl/LICENSE): the identity of a pad (its GUID, its name and its kind), the mapping format that says which button or axis of a pad is which button or axis of the standard layout, SDL's built-in table of mappings (mappings_gen.go, made by glutter-gen gamepaddb), and the two layers that turn the raw reports of a pad into the buttons and axes of the layout.
|
Package gamepaddb is the model of a pad that SPEC §28.1 ports from SDL 3 (zlib; see third_party/sdl/LICENSE): the identity of a pad (its GUID, its name and its kind), the mapping format that says which button or axis of a pad is which button or axis of the standard layout, SDL's built-in table of mappings (mappings_gen.go, made by glutter-gen gamepaddb), and the two layers that turn the raw reports of a pad into the buttons and axes of the layout. |
|
Package gamepadhid holds the HID drivers of the pads that report more through HID than the system's own driver shows: the PlayStation 4 and 5 pads, the Nintendo Switch Pro controller and the Xbox One and Series pads over Bluetooth (SPEC §28.1, §28.2).
|
Package gamepadhid holds the HID drivers of the pads that report more through HID than the system's own driver shows: the PlayStation 4 and 5 pads, the Nintendo Switch Pro controller and the Xbox One and Series pads over Bluetooth (SPEC §28.1, §28.2). |
|
Package goid tells goroutines apart.
|
Package goid tells goroutines apart. |
|
Package goldens compares rendered images with the golden PNGs of a package's tests.
|
Package goldens compares rendered images with the golden PNGs of a package's tests. |
|
Package gpu defines the Renderer interface, flattens a ui.Scene into draw commands, and holds the glyph and path atlases shared by the renderers.
|
Package gpu defines the Renderer interface, flattens a ui.Scene into draw commands, and holds the glyph and path atlases shared by the renderers. |
|
canvas2d
Package canvas2d is the last renderer of the web (SPEC §9.6): it draws each frame with the software renderer (internal/gpu/soft) and puts the image into the page's 2D canvas with putImageData, so that an app shows even where neither WebGPU nor WebGL 2 works.
|
Package canvas2d is the last renderer of the web (SPEC §9.6): it draws each frame with the software renderer (internal/gpu/soft) and puts the image into the page's 2D canvas with putImageData, so that an app shows even where neither WebGPU nor WebGL 2 works. |
|
d3d12
Package d3d12 is the Direct3D 12 backend of the explicit renderer (D25, SPEC §9.8): the third explicit.Device, after vulkan and webgpu, for Windows.
|
Package d3d12 is the Direct3D 12 backend of the explicit renderer (D25, SPEC §9.8): the third explicit.Device, after vulkan and webgpu, for Windows. |
|
d3d12/hlslcheck
command
Command hlslcheck compiles the HLSL of generated shaders with D3DCompile (SPEC §27.3).
|
Command hlslcheck compiles the HLSL of generated shaders with D3DCompile (SPEC §27.3). |
|
explicit
Package explicit is the renderer for the explicit GPU APIs, Vulkan and WebGPU (D19): the Device interface that both implement, the design limits they share (SPEC §9.3), and the WGSL shaders with the SPIR-V that glutter-gen makes from them (D20).
|
Package explicit is the renderer for the explicit GPU APIs, Vulkan and WebGPU (D19): the Device interface that both implement, the design limits they share (SPEC §9.3), and the WGSL shaders with the SPIR-V that glutter-gen makes from them (D20). |
|
explicit/devicetest
Package devicetest holds the scenes that every backend of the explicit device runs (SPEC §27.12): Vulkan on lavapipe, Direct3D 12 under Wine, WebGPU in Chromium and the fake device.
|
Package devicetest holds the scenes that every backend of the explicit device runs (SPEC §27.12): Vulkan on lavapipe, Direct3D 12 under Wine, WebGPU in Chromium and the fake device. |
|
explicit/devicetest/gotest
Package gotest adapts *testing.T to devicetest.T. It imports testing, so only tests import it.
|
Package gotest adapts *testing.T to devicetest.T. It imports testing, so only tests import it. |
|
explicit/fakedevice
Package fakedevice is an explicit.Device that records every call, for the unit tests of the explicit renderer without a GPU.
|
Package fakedevice is an explicit.Device that records every call, for the unit tests of the explicit renderer without a GPU. |
|
gdiwindow
Package gdiwindow is the last-resort renderer of Windows (SPEC §25.5): the software renderer (package soft) draws the frame, and a Presenter puts the image into the window with GDI, StretchDIBits at 1:1 from a top-down 32-bit DIB, into the window's device context, one call for each damaged rectangle.
|
Package gdiwindow is the last-resort renderer of Windows (SPEC §25.5): the software renderer (package soft) draws the frame, and a Presenter puts the image into the window with GDI, StretchDIBits at 1:1 from a top-down 32-bit DIB, into the window's device context, one call for each damaged rectangle. |
|
gles
Package gles is the OpenGL ES 3.0 renderer.
|
Package gles is the OpenGL ES 3.0 renderer. |
|
gles/glwebtest
command
Command glwebtest is the program of the browser tests of the WebGL 2 renderer (step 21.4, SPEC §9.1, §17).
|
Command glwebtest is the program of the browser tests of the WebGL 2 renderer (step 21.4, SPEC §9.1, §17). |
|
gputest
Package gputest has what the display tests of the GPU renderers share: the scenes the renderers are compared on, the comparison with the software renderer's image, and its tolerance.
|
Package gputest has what the display tests of the GPU renderers share: the scenes the renderers are compared on, the comparison with the software renderer's image, and its tolerance. |
|
gputest/editorscene
Package editorscene makes the scenes of a frame in which only the caret of a text editor blinks, for the allocation tests and benchmarks of the renderers (SPEC §15, step 29.15).
|
Package editorscene makes the scenes of a frame in which only the caret of a text editor blinks, for the allocation tests and benchmarks of the renderers (SPEC §15, step 29.15). |
|
metal
Package metal is the Metal backend of the explicit renderer (D33, SPEC §29.5): the fourth explicit.Device, after vulkan, webgpu and d3d12, for macOS.
|
Package metal is the Metal backend of the explicit renderer (D33, SPEC §29.5): the fourth explicit.Device, after vulkan, webgpu and d3d12, for macOS. |
|
nativewindow
Package nativewindow is the last-resort renderer of Android (SPEC §24.4): the software renderer (package soft) draws the frame, and it is copied into the CPU buffers of the window's ANativeWindow (setBuffersGeometry, lock, unlockAndPost, loaded from libandroid.so through purego).
|
Package nativewindow is the last-resort renderer of Android (SPEC §24.4): the software renderer (package soft) draws the frame, and it is copied into the CPU buffers of the window's ANativeWindow (setBuffersGeometry, lock, unlockAndPost, loaded from libandroid.so through purego). |
|
shadercache
Package shadercache keeps what the GPU drivers compile for Glutter between runs: the binaries of the OpenGL ES programs and the pipeline cache of Vulkan (SPEC §9.7).
|
Package shadercache keeps what the GPU drivers compile for Glutter between runs: the binaries of the OpenGL ES programs and the pipeline cache of Vulkan (SPEC §9.7). |
|
shmwindow
Package shmwindow is the renderer of a Linux window without a GPU (SPEC §9.6): the software renderer (package soft) draws the frame into memory that a gpu.PixelTarget gives, and the window shows it, through wl_shm on Wayland.
|
Package shmwindow is the renderer of a Linux window without a GPU (SPEC §9.6): the software renderer (package soft) draws the frame into memory that a gpu.PixelTarget gives, and the window shows it, through wl_shm on Wayland. |
|
soft
Package soft is the pure-Go software rasterizer, used for golden tests and headless rendering.
|
Package soft is the pure-Go software rasterizer, used for golden tests and headless rendering. |
|
textdraw
Package textdraw turns the drawing of a paragraph into ordinary drawing operations, for the renderers: each glyph is a path, drawn with its origin on a quarter of a pixel horizontally and on a pixel vertically, so that the coverage of a glyph at a size can be cached for the four subpixel positions (SPEC §9.1).
|
Package textdraw turns the drawing of a paragraph into ordinary drawing operations, for the renderers: each glyph is a path, drawn with its origin on a quarter of a pixel horizontally and on a pixel vertically, so that the coverage of a glyph at a size can be cached for the four subpixel positions (SPEC §9.1). |
|
vulkan
Package vulkan is the Vulkan backend of the explicit renderer (SPEC §9.4): it loads libvulkan.so.1 through purego and implements explicit.Device on it.
|
Package vulkan is the Vulkan backend of the explicit renderer (SPEC §9.4): it loads libvulkan.so.1 through purego and implements explicit.Device on it. |
|
webgpu
Package webgpu is the WebGPU backend of the explicit renderer (SPEC §9.5): an explicit.Device over navigator.gpu, through syscall/js, so that internal/gpu/explicit draws on the web the way it draws on Vulkan.
|
Package webgpu is the WebGPU backend of the explicit renderer (SPEC §9.5): an explicit.Device over navigator.gpu, through syscall/js, so that internal/gpu/explicit draws on the web the way it draws on Vulkan. |
|
webgpu/gpuwebtest
command
Command gpuwebtest is the program of the browser tests of the WebGPU renderer (step 21.5, SPEC §9.5, §17).
|
Command gpuwebtest is the program of the browser tests of the WebGPU renderer (step 21.5, SPEC §9.5, §17). |
|
Package gpuhost is an explicit.DeviceHost for tests: it holds the device that a test gives it, tells the watchers when the device is opened, lost or closed, and keeps the log that package gpu writes.
|
Package gpuhost is an explicit.DeviceHost for tests: it holds the device that a test gives it, tells the watchers when the device is opened, lost or closed, and keeps the log that package gpu writes. |
|
Package iostest is the harness of the iOS Simulator tests (SPEC §30.11): it keeps a device set of its own in `.ios-test/devices` at the root of the module (git-ignored, made with `xcrun simctl --set`), makes an iPhone and an iPad of the newest installed runtime on first use, boots them, installs and launches apps, reads their console and screenshots, and shuts everything down when the test ends.
|
Package iostest is the harness of the iOS Simulator tests (SPEC §30.11): it keeps a device set of its own in `.ios-test/devices` at the root of the module (git-ignored, made with `xcrun simctl --set`), makes an iPhone and an iPad of the newest installed runtime on first use, boots them, installs and launches apps, reads their console and screenshots, and shuts everything down when the test ends. |
|
behaviorapp
command
Command behaviorapp is the app of the framework-behavior tests of step 35.9: a Cupertino app that shows one thing in the mode that the environment names, and prints a line when it happens, so that the Simulator test reads it:
|
Command behaviorapp is the app of the framework-behavior tests of step 35.9: a Cupertino app that shows one thing in the mode that the environment names, and prints a line when it happens, so that the Simulator test reads it: |
|
behaviorlines
Package behaviorlines holds the lines that the app of the framework-behavior tests (internal/iostest/behaviorapp) prints and the tests read.
|
Package behaviorlines holds the lines that the app of the framework-behavior tests (internal/iostest/behaviorapp) prints and the tests read. |
|
fieldapp
command
Command fieldapp is the app of the text input tests of step 35.5: a text field that takes the focus and prints a line with its text each time it changes, so that the Simulator test reads what the framework's field got from the text input (UITextInput) of the script.
|
Command fieldapp is the app of the text input tests of step 35.5: a text field that takes the focus and prints a line with its text each time it changes, so that the Simulator test reads what the framework's field got from the text input (UITextInput) of the script. |
|
hello
command
Command hello is the app of the Simulator tests of step 35.1: it starts UIKit through package ios and prints a line when the app has launched and a line when the scene has connected, so that the test sees them in the console of the app.
|
Command hello is the app of the Simulator tests of step 35.1: it starts UIKit through package ios and prints a line when the app has launched and a line when the scene has connected, so that the test sees them in the console of the app. |
|
hellolines
Package hellolines has the lines that the app of the Simulator tests prints, which the test looks for.
|
Package hellolines has the lines that the app of the Simulator tests prints, which the test looks for. |
|
inputapp
command
Command inputapp is the app of the input tests of step 35.4: a view that takes the focus and prints a line for each tap, each pan and each key event, so that the Simulator test reads what the framework got from the touches and the keys of a script (GLUTTER_DEV_EVENTS).
|
Command inputapp is the app of the input tests of step 35.4: a view that takes the focus and prints a line for each tap, each pan and each key event, so that the Simulator test reads what the framework got from the touches and the keys of a script (GLUTTER_DEV_EVENTS). |
|
inputlines
Package inputlines holds the lines that the app of the input tests (internal/iostest/inputapp) prints and the tests read, so that the two cannot drift apart.
|
Package inputlines holds the lines that the app of the input tests (internal/iostest/inputapp) prints and the tests read, so that the two cannot drift apart. |
|
sceneapp
command
Command sceneapp is the app of the Simulator tests of step 35.2; it runs on iOS only.
|
Command sceneapp is the app of the Simulator tests of step 35.2; it runs on iOS only. |
|
scenelines
Package scenelines holds the lines that the app of the scene tests (internal/iostest/sceneapp) prints and the test reads, so that the two cannot drift apart.
|
Package scenelines holds the lines that the app of the scene tests (internal/iostest/sceneapp) prints and the test reads, so that the two cannot drift apart. |
|
serviceslines
Package serviceslines holds the lines that the app of the services tests (internal/iostest/serviceapp) prints and the test reads, and the names of its steps, so that the two cannot drift apart.
|
Package serviceslines holds the lines that the app of the services tests (internal/iostest/serviceapp) prints and the test reads, and the names of its steps, so that the two cannot drift apart. |
|
spinner
command
Command spinner is the app of the Metal background test of step 35.3: a progress indicator that animates for ever, so that the app draws a frame on every tick of the display until it is sent to the background.
|
Command spinner is the app of the Metal background test of step 35.3: a progress indicator that animates for ever, so that the app draws a frame on every tick of the display until it is sent to the background. |
|
Package iostool holds what `glutter-ios` does that does not need a Mac to be understood: the Info.plist of an iOS app, the layout of its bundle, its icons, the command lines of `simctl`, and the build of the program with the compiler of Xcode (SPEC §30.1).
|
Package iostool holds what `glutter-ios` does that does not need a Mac to be understood: the Info.plist of an iOS app, the layout of its bundle, its icons, the command lines of `simctl`, and the build of the program with the compiler of Xcode (SPEC §30.1). |
|
Package leaktest checks that a scenario does not leak memory: it runs a step many times, and compares the live heap and the goroutines after N steps and after 4N steps (SPEC §15, "Memory over time").
|
Package leaktest checks that a scenario does not leak memory: it runs a step many times, and compares the live heap and the goroutines after N steps and after 4N steps (SPEC §15, "Memory over time"). |
|
Package mactool builds Glutter apps for macOS, for glutter-macos (SPEC §29.1): it writes the Info.plist of an app bundle, the .icns icon from a PNG, one Mach-O file with an arm64 and an amd64 slice (what `lipo` makes), the bundle's directories, and signs the bundle ad hoc with /usr/bin/codesign.
|
Package mactool builds Glutter apps for macOS, for glutter-macos (SPEC §29.1): it writes the Info.plist of an app bundle, the .icns icon from a PNG, one Mach-O file with an arm64 and an amd64 slice (what `lipo` makes), the bundle's directories, and signs the bundle ad hoc with /usr/bin/codesign. |
|
Package meshopt decodes the data of EXT_meshopt_compression (SPEC §28.5): the vertex buffers, the index buffers and the index sequences of meshoptimizer's formats (versions 0 and 1), and its four vertex filters.
|
Package meshopt decodes the data of EXT_meshopt_compression (SPEC §28.5): the vertex buffers, the index buffers and the index sequences of meshoptimizer's formats (versions 0 and 1), and its four vertex filters. |
|
Package opts holds the helper behind the trailing options parameter of every constructor (SPEC §12.1).
|
Package opts holds the helper behind the trailing options parameter of every constructor (SPEC §12.1). |
|
Package pads is the manager of the gamepads of an app (SPEC §28.2): it takes the pads and the raw reports that a platform backend gives (internal/platform.Gamepads), finds each pad's mapping in the table (internal/gamepaddb), keeps the state of the buttons and axes of the standard layout and tells the listeners, and turns the buttons into key events.
|
Package pads is the manager of the gamepads of an app (SPEC §28.2): it takes the pads and the raw reports that a platform backend gives (internal/platform.Gamepads), finds each pad's mapping in the table (internal/gamepaddb), keeps the state of the buttons and axes of the standard layout and tells the listeners, and turns the buttons into key events. |
|
Package perfstats reads the engine's log lines that the performance tools measure with: the "first frame presented" line, the per-second "frames" statistics of GLUTTER_FRAME_STATS=1 and the key=value pairs of slog's text format.
|
Package perfstats reads the engine's log lines that the performance tools measure with: the "first frame presented" line, the per-second "frames" statistics of GLUTTER_FRAME_STATS=1 and the key=value pairs of slog's text format. |
|
Package platform defines the interface between the engine and an operating system backend, together with the types shared by all backends.
|
Package platform defines the interface between the engine and an operating system backend, together with the types shared by all backends. |
|
android
Package android is the platform backend for Android (GOOS=android, SPEC §24): the JNI entry points the Java embedding calls, the thread that runs the program's main, the log lines sent to logcat, and, from step 25.3, the looper, the surface, the input and the services.
|
Package android is the platform backend for Android (GOOS=android, SPEC §24): the JNI entry points the Java embedding calls, the thread that runs the program's main, the log lines sent to logcat, and, from step 25.3, the looper, the surface, the input and the services. |
|
android/aaudio
Package aaudio is the AAudio backend of the audio service on Android (SPEC §28.3, step 31.6): playback and capture of float32 frames through libaaudio.so (Android 8, API 26), called through purego, with a data callback that is made once, the low-latency performance mode, a stream that is made again when the device it was on is disconnected, and a device that pauses while the app is hidden.
|
Package aaudio is the AAudio backend of the audio service on Android (SPEC §28.3, step 31.6): playback and capture of float32 frames through libaaudio.so (Android 8, API 26), called through purego, with a data callback that is made once, the low-latency performance mode, a stream that is made again when the device it was on is disconnected, and a device that pauses while the app is hidden. |
|
android/asensor
Package asensor is the motion sensors backend of Android (SPEC §28.4, step 31.7): the accelerometer and the gyroscope through the sensor manager of the NDK (libandroid.so, Android 8, API 26), called through purego, with the events of every open sensor read on a looper that lives on an OS thread of its own.
|
Package asensor is the motion sensors backend of Android (SPEC §28.4, step 31.7): the accelerometer and the gyroscope through the sensor manager of the NDK (libandroid.so, Android 8, API 26), called through purego, with the events of every open sensor read on a looper that lives on an OS thread of its own. |
|
darwin
Package darwin holds what macOS and iOS share (SPEC §29.2): the loader of the system frameworks (dl), the Objective-C helpers (objcx), Core Foundation (cf), and the layout test helper for the Go mirrors of C structures (layouttest).
|
Package darwin holds what macOS and iOS share (SPEC §29.2): the loader of the system frameworks (dl), the Objective-C helpers (objcx), Core Foundation (cf), and the layout test helper for the Go mirrors of C structures (layouttest). |
|
darwin/a11ymodel
Package a11ymodel is the plain-Go model of the accessibility bridges of macOS and iOS (SPEC §29.10, §30.7): the mirror of the semantics trees of the views of the app, built from ui.SemanticsUpdate, and the changes between two trees that become notifications.
|
Package a11ymodel is the plain-Go model of the accessibility bridges of macOS and iOS (SPEC §29.10, §30.7): the mirror of the semantics trees of the views of the app, built from ui.SemanticsUpdate, and the changes between two trees that become notifications. |
|
darwin/cf
Package cf is the part of Core Foundation that the macOS and iOS backends use (SPEC §29.2, §29.3): strings, dictionaries, the run loop, and the version-0 run loop sources and the timers that carry Post and the timer heap of the UI thread.
|
Package cf is the part of Core Foundation that the macOS and iOS backends use (SPEC §29.2, §29.3): strings, dictionaries, the run loop, and the version-0 run loop sources and the timers that carry Post and the timer heap of the UI thread. |
|
darwin/coreaudio
Package coreaudio is the audio backend of macOS and iOS (SPEC §29.11, §30.10): Core Audio's AudioQueue for playback and capture, with the list of devices and its changes from the property listeners of the system object.
|
Package coreaudio is the audio backend of macOS and iOS (SPEC §29.11, §30.10): Core Audio's AudioQueue for playback and capture, with the list of devices and its changes from the property listeners of the system object. |
|
darwin/dl
Package dl is the one safe way to load the system frameworks of macOS and iOS and to call into them without cgo: it wraps purego's Dlopen, Dlsym and callbacks, tags every failure, and offers the libc helpers (malloc, free, C strings) that the backends share.
|
Package dl is the one safe way to load the system frameworks of macOS and iOS and to call into them without cgo: it wraps purego's Dlopen, Dlsym and callbacks, tags every failure, and offers the libc helpers (malloc, free, C strings) that the backends share. |
|
darwin/layouttest
Package layouttest checks the Go mirrors of C and Objective-C structures that the macOS and iOS backends pass to and get from the system (NSRect, CGPoint, CVTimeStamp, AudioStreamBasicDescription, ...) against the headers of the SDK (SPEC §29.2, §8.1 rule 3).
|
Package layouttest checks the Go mirrors of C and Objective-C structures that the macOS and iOS backends pass to and get from the system (NSRect, CGPoint, CVTimeStamp, AudioStreamBasicDescription, ...) against the headers of the SDK (SPEC §29.2, §8.1 rule 3). |
|
darwin/loop
Package loop has the plain-Go parts of the run loop that macOS and iOS share (SPEC §29.3, §30.2): the heap of timers that one CFRunLoopTimer is set to, the merging of the frame requests of a window, the pacer that starts and stops the display link, and the gate that offers one tick of a display link's thread at a time to the loop.
|
Package loop has the plain-Go parts of the run loop that macOS and iOS share (SPEC §29.3, §30.2): the heap of timers that one CFRunLoopTimer is set to, the merging of the frame requests of a window, the pacer that starts and stops the display link, and the gate that offers one tick of a display link's thread at a time to the loop. |
|
darwin/mainthread
Package mainthread runs the tests of a macOS program on the main thread: AppKit works only there (SPEC §29.3), and the Go test runner runs every test on a goroutine of its own.
|
Package mainthread runs the tests of a macOS program on the main thread: AppKit works only there (SPEC §29.3), and the Go test runner runs every test on a goroutine of its own. |
|
darwin/notify
Package notify is the numbering and the life of the notifications of an app on macOS and iOS (SPEC §29.9, §30.6) and, in center_darwin.go, UNUserNotificationCenter behind it.
|
Package notify is the numbering and the life of the notifications of an app on macOS and iOS (SPEC §29.9, §30.6) and, in center_darwin.go, UNUserNotificationCenter behind it. |
|
darwin/objcx
Package objcx is Glutter's thin layer over purego's objc package (SPEC §29.2): selectors made once, Foundation values (NSString, NSNumber, NSArray, NSURL, NSError) to and from Go, autorelease pools, blocks, and the registry of the Objective-C classes that Go implements (the app delegate, the view, the accessibility elements), whose instances find their Go object by a handle.
|
Package objcx is Glutter's thin layer over purego's objc package (SPEC §29.2): selectors made once, Foundation values (NSString, NSNumber, NSArray, NSURL, NSError) to and from Go, autorelease pools, blocks, and the registry of the Objective-C classes that Go implements (the app delegate, the view, the accessibility elements), whose instances find their Go object by a handle. |
|
darwin/openuri
Package openuri is the check that comes before a URI is opened on macOS and iOS (SPEC §29.9, §30.6): the part of opening that is plain Go, so that its tests run on any host.
|
Package openuri is the check that comes before a URI is opened on macOS and iOS (SPEC §29.9, §30.6): the part of opening that is plain Go, so that its tests run on any host. |
|
fake
Package fake is a scripted platform for tests: it replays queued events and records what the engine asks of it.
|
Package fake is a scripted platform for tests: it replays queued events and records what the engine asks of it. |
|
ios
Package ios is the platform of iOS (SPEC §30): UIKit through purego's objc (SPEC §29.2, the helpers of internal/platform/darwin) and, in the *_ios.go files only, the few lines of cgo that Go's iOS port needs (D35: the port links externally and purego needs cgo there, so the files that name the frameworks to link carry `import "C"`; nothing else is in C).
|
Package ios is the platform of iOS (SPEC §30): UIKit through purego's objc (SPEC §29.2, the helpers of internal/platform/darwin) and, in the *_ios.go files only, the few lines of cgo that Go's iOS port needs (D35: the port links externally and purego needs cgo there, so the files that name the frameworks to link carry `import "C"`; nothing else is in C). |
|
ios/a11y
Package a11y is the plain-Go part of the accessibility bridge of iOS (SPEC §30.7): what a node of the semantics tree is to UIAccessibility: whether it is an element, its label, value and hint, its traits, the actions that VoiceOver can do on it and the scroll directions that VoiceOver sends.
|
Package a11y is the plain-Go part of the accessibility bridge of iOS (SPEC §30.7): what a node of the semantics tree is to UIAccessibility: whether it is an element, its label, value and hint, its traits, the actions that VoiceOver can do on it and the scroll directions that VoiceOver sends. |
|
linux
Package linux holds what the Linux backends share: the event loop, the key tables, system settings and the choice between Wayland and X11.
|
Package linux holds what the Linux backends share: the event loop, the key tables, system settings and the choice between Wayland and X11. |
|
linux/alsa
Package alsa is the ALSA backend of the audio service on Linux (SPEC §28.3, step 31.5), for the systems where no PulseAudio (or PipeWire) server answers: playback and capture of float32 frames through libasound's PCM interface, on a goroutine of its own for each device.
|
Package alsa is the ALSA backend of the audio service on Linux (SPEC §28.3, step 31.5), for the systems where no PulseAudio (or PipeWire) server answers: playback and capture of float32 frames through libasound's PCM interface, on a goroutine of its own for each device. |
|
linux/dl
Package dl is the one safe way to load C libraries and call into them without cgo: it wraps purego's Dlopen, Dlsym and callbacks, tags every failure, and offers the libc helpers (malloc, free, C strings) that the backends share.
|
Package dl is the one safe way to load C libraries and call into them without cgo: it wraps purego's Dlopen, Dlsym and callbacks, tags every failure, and offers the libc helpers (malloc, free, C strings) that the backends share. |
|
linux/dl/layouttest
Package layouttest is the helper for the layout test that every Go mirror of a C struct needs (SPEC §8.1 rule 3).
|
Package layouttest is the helper for the layout test that every Go mirror of a C struct needs (SPEC §8.1 rule 3). |
|
linux/evdev
Package evdev is the gamepad backend of Linux: it finds the pads among the event devices of /dev/input, reads their buttons, axes and hats, and reports them to the pad manager (internal/pads) through platform.Gamepads.
|
Package evdev is the gamepad backend of Linux: it finds the pads among the event devices of /dev/input, reads their buttons, axes and hats, and reports them to the pad manager (internal/pads) through platform.Gamepads. |
|
linux/fontconfig
Package fontconfig binds libfontconfig (through purego, SPEC §8.1) to match a font family, weight, slant and language to the font files of the system, in the fallback order the user's fontconfig settings give.
|
Package fontconfig binds libfontconfig (through purego, SPEC §8.1) to match a font family, weight, slant and language to the font files of the system, in the fallback order the user's fontconfig settings give. |
|
linux/ime
Package ime connects a window system backend to an input method framework over D-Bus (IBus or Fcitx5): the same way for X11, and for Wayland on a compositor without text-input-v3 (SPEC §8.3, §8.6).
|
Package ime connects a window system backend to an input method framework over D-Bus (IBus or Fcitx5): the same way for X11, and for Wayland on a compositor without text-input-v3 (SPEC §8.3, §8.6). |
|
linux/ime/imetest
Package imetest has test doubles for the input method of the Linux backends: an input method that records its calls, and a poster that lets the test run what the bridge hands to the UI thread.
|
Package imetest has test doubles for the input method of the Linux backends: an input method that records its calls, and a poster that lets the test run what the bridge hands to the UI thread. |
|
linux/input
Package input turns what the Linux windowing systems report about pointers and touch screens into ui.PointerData, the same way for Wayland and X11.
|
Package input turns what the Linux windowing systems report about pointers and touch screens into ui.PointerData, the same way for Wayland and X11. |
|
linux/pixelpool
Package pixelpool is the buffers of one window that a CPU renderer draws into: the part of the Wayland and X11 backends that hands a buffer out only when the display server no longer reads it, and says how old its content is (SPEC §9.6; steps 32.1 and 32.2).
|
Package pixelpool is the buffers of one window that a CPU renderer draws into: the part of the Wayland and X11 backends that hands a buffer out only when the display server no longer reads it, and says how old its content is (SPEC §9.6; steps 32.1 and 32.2). |
|
linux/pulse
Package pulse is the PulseAudio backend of the audio service on Linux (SPEC §28.3, step 31.5): playback and capture streams of float32 frames on libpulse's threaded main loop, the devices and the default device of the server, and a notification when they change.
|
Package pulse is the PulseAudio backend of the audio service on Linux (SPEC §28.3, step 31.5): playback and capture streams of float32 frames on libpulse's threaded main loop, the devices and the default device of the server, and a notification when they change. |
|
linux/wayland
Package wayland is the Wayland backend.
|
Package wayland is the Wayland backend. |
|
linux/wayland/decor
Package decor binds libdecor, the library that draws native title bars for Wayland compositors without server-side decorations (GNOME).
|
Package decor binds libdecor, the library that draws native title bars for Wayland compositors without server-side decorations (GNOME). |
|
linux/wayland/fakecomp
Package fakecomp is a tiny fake Wayland compositor for tests: it speaks the wire protocol over a socket pair, answers the requests that the tests send, and logs them.
|
Package fakecomp is a tiny fake Wayland compositor for tests: it speaks the wire protocol over a socket pair, answers the requests that the tests send, and logs them. |
|
linux/wayland/wl
Package wl is the Wayland client: the runtime over libwayland-client, which is bound with purego, and the Go bindings of every protocol in ../protocols, generated by `glutter-gen wayland` into the *_gen.go files.
|
Package wl is the Wayland client: the runtime over libwayland-client, which is bound with purego, and the Go bindings of every protocol in ../protocols, generated by `glutter-gen wayland` into the *_gen.go files. |
|
linux/x11
Package x11 is the X11 backend.
|
Package x11 is the X11 backend. |
|
linux/xkb
Package xkb binds libxkbcommon (through purego, SPEC §8.1) and turns key presses into Flutter key data: the physical key, the logical key and the text, for any keyboard layout, with dead keys and compose sequences.
|
Package xkb binds libxkbcommon (through purego, SPEC §8.1) and turns key presses into Flutter key data: the physical key, the logical key and the text, for any keyboard layout, with dead keys and compose sequences. |
|
macos
Package macos is the platform backend of macOS: AppKit through purego and its objc package, with no cgo (SPEC §29).
|
Package macos is the platform backend of macOS: AppKit through purego and its objc package, with no cgo (SPEC §29). |
|
macos/a11y
Package a11y is the accessibility bridge of macOS (SPEC §29.10): a plain-Go model of the semantics trees of the views of the app and the mapping of a node to what NSAccessibility says about an element (its role, label, value, help, state, actions and text range), and, in the files for macOS, the elements that VoiceOver and the Accessibility Inspector read and the notifications that tell them of a change.
|
Package a11y is the accessibility bridge of macOS (SPEC §29.10): a plain-Go model of the semantics trees of the views of the app and the mapping of a node to what NSAccessibility says about an element (its role, label, value, help, state, actions and text range), and, in the files for macOS, the elements that VoiceOver and the Accessibility Inspector read and the notifications that tell them of a change. |
|
macos/iokit
Package iokit is the gamepad backend of macOS (SPEC §29.11): the pads that IOKit's HID manager reports, read as raw axes, buttons and hats, and the pads that have a HID driver (package gamepadhid), read through their reports.
|
Package iokit is the gamepad backend of macOS (SPEC §29.11): the pads that IOKit's HID manager reports, read as raw axes, buttons and hats, and the pads that have a HID driver (package gamepadhid), read through their reports. |
|
mobile
Package mobile is the logic of the desktop services of package desktop on a mobile platform (Android in 1.6, SPEC §24.11): opening a URI with an intent and showing notifications through the system's notification manager.
|
Package mobile is the logic of the desktop services of package desktop on a mobile platform (Android in 1.6, SPEC §24.11): opening a URI with an intent and showing notifications through the system's notification manager. |
|
padstd
Package padstd helps the backends whose pads already report the standard layout (XInput on Windows, the standard mapping of a browser): such a pad is a PadInfo with Standard set, and its raw buttons and axes are the Button and Axis of gamepaddb in the order of the layout.
|
Package padstd helps the backends whose pads already report the standard layout (XInput on Windows, the standard mapping of a browser): such a pad is a PadInfo with Standard set, and its raw buttons and axes are the Button and Axis of gamepaddb in the order of the layout. |
|
textedit
Package textedit is the model behind a text field that the platform keeps outside the framework (the hidden DOM field of the web, SPEC §23.5, and the Editable of the Android input method, SPEC §24.6), as plain Go: the editing state in UTF-16 units, the composition, and the editor that turns each change of the platform's field into the ui.TextInputEvent that makes the framework's field the same.
|
Package textedit is the model behind a text field that the platform keeps outside the framework (the hidden DOM field of the web, SPEC §23.5, and the Editable of the Android input method, SPEC §24.6), as plain Go: the editing state in UTF-16 units, the composition, and the editor that turns each change of the platform's field into the ui.TextInputEvent that makes the framework's field the same. |
|
web
Package web is the platform backend of the web (GOOS=js GOARCH=wasm, SPEC §23): one window that is a canvas in a host element of the page, frames from requestAnimationFrame, and the lifecycle and the settings of the browser.
|
Package web is the platform backend of the web (GOOS=js GOARCH=wasm, SPEC §23): one window that is a canvas in a host element of the page, frames from requestAnimationFrame, and the lifecycle and the settings of the browser. |
|
web/audiotest
command
Command audiotest is the program of the browser tests of the audio of the web (step 31.6, SPEC §28.3, §28.8).
|
Command audiotest is the program of the browser tests of the audio of the web (step 31.6, SPEC §28.3, §28.8). |
|
web/desktoptest
command
Command desktoptest is the program of the browser tests of the web desktop services (step 21.6, SPEC §17, §23.7).
|
Command desktoptest is the program of the browser tests of the web desktop services (step 21.6, SPEC §17, §23.7). |
|
web/inputtest
command
Command inputtest is the program of the browser tests of the web input (step 21.2, SPEC §17, §23.4).
|
Command inputtest is the program of the browser tests of the web input (step 21.2, SPEC §17, §23.4). |
|
web/padtest
command
Command padtest is the program of the browser test of the gamepads of the web (step 31.2, SPEC §28.2, §28.8).
|
Command padtest is the program of the browser test of the gamepads of the web (step 31.2, SPEC §28.2, §28.8). |
|
web/sensortest
command
Command sensortest is the program of the browser tests of the motion sensors and the haptics of the web (step 31.7, SPEC §28.4, §28.8).
|
Command sensortest is the program of the browser tests of the motion sensors and the haptics of the web (step 31.7, SPEC §28.4, §28.8). |
|
web/synthetic
Package synthetic dispatches synthetic DOM events at the canvas of a Glutter app, the way the browser would deliver real ones: the debug-only script of the web platform (GLUTTER_DEV_EVENTS, for proof screenshots) and the browser tests use it.
|
Package synthetic dispatches synthetic DOM events at the canvas of a Glutter app, the way the browser would deliver real ones: the debug-only script of the web platform (GLUTTER_DEV_EVENTS, for proof screenshots) and the browser tests use it. |
|
web/texttest
command
Command texttest is the program of the browser tests of the web text input and clipboard (step 21.3, SPEC §17, §23.5).
|
Command texttest is the program of the browser tests of the web text input and clipboard (step 21.3, SPEC §17, §23.5). |
|
windows
Package windows is the Win32 platform backend (SPEC §25): the windows, the message loop, the frame pacing, the displays and the process start of Windows (step 28.2), behind internal/platform; the pointer input (step 28.3), the keyboard (step 28.4), the text input and the input methods (step 28.5, with package ime); the clipboard, the system settings, the list of fonts and the lifecycle (step 28.6), and the tray, the notifications, the file dialogs and the opening of URIs (step 28.11); and OLE drag and drop and the windows that an app opens besides the first (step 28.12, with package ole).
|
Package windows is the Win32 platform backend (SPEC §25): the windows, the message loop, the frame pacing, the displays and the process start of Windows (step 28.2), behind internal/platform; the pointer input (step 28.3), the keyboard (step 28.4), the text input and the input methods (step 28.5, with package ime); the clipboard, the system settings, the list of fonts and the lifecycle (step 28.6), and the tray, the notifications, the file dialogs and the opening of URIs (step 28.11); and OLE drag and drop and the windows that an app opens besides the first (step 28.12, with package ole). |
|
windows/ime
Package ime is the text input of the Windows backend as plain Go: the composition of an input method (IMM32, SPEC §25.7) turned into the ui.TextInputEvents of the framework by the model of internal/platform/textedit, the characters of the keyboard that no key made, and the places of the composition and candidate windows.
|
Package ime is the text input of the Windows backend as plain Go: the composition of an input method (IMM32, SPEC §25.7) turned into the ui.TextInputEvents of the framework by the model of internal/platform/textedit, the characters of the keyboard that no key made, and the places of the composition and candidate windows. |
|
windows/ime/imetest
Package imetest is a fake of the input method manager (ime.IMM) for the tests of the text input of Windows, in the ime package and in the window code that uses it.
|
Package imetest is a fake of the input method manager (ime.IMM) for the tests of the text input of Windows, in the ime package and in the window code that uses it. |
|
windows/ole
Package ole is the OLE drag and drop of the Windows backend (SPEC §25.10): the COM objects that Go makes for it (IDropTarget, IDropSource, IDataObject and IEnumFORMATETC, SPEC §25.2), the reader of a data object that another program made, and the plain-Go models they stand on, which are tested on any host: the effects and the keys that choose among them, the formats and their names, the set of data that a drag offers, the enumerator of formats, and the decisions of the drag source.
|
Package ole is the OLE drag and drop of the Windows backend (SPEC §25.10): the COM objects that Go makes for it (IDropTarget, IDropSource, IDataObject and IEnumFORMATETC, SPEC §25.2), the reader of a data object that another program made, and the plain-Go models they stand on, which are tested on any host: the effects and the keys that choose among them, the formats and their names, the set of data that a drag offers, the enumerator of formats, and the decisions of the drag source. |
|
windows/uia
Package uia is the accessibility bridge of Windows (SPEC §25.11): it mirrors the framework's semantics tree as UI Automation providers, so that Narrator, NVDA, JAWS and Accessibility Insights can read the app and act on it.
|
Package uia is the accessibility bridge of Windows (SPEC §25.11): it mirrors the framework's semantics tree as UI Automation providers, so that Narrator, NVDA, JAWS and Accessibility Insights can read the app and act on it. |
|
windows/uia/callshim
Package callshim calls a function of the Windows calling convention with floating-point arguments, for the tests of UI Automation (SPEC §25.2): syscall.SyscallN passes integers only, and a COM method that takes a double (IRawElementProviderFragmentRoot::ElementProviderFromPoint, IRangeValueProvider::SetValue, and the client's SetValue and SetScrollPercent) gets it in a floating register.
|
Package callshim calls a function of the Windows calling convention with floating-point arguments, for the tests of UI Automation (SPEC §25.2): syscall.SyscallN passes integers only, and a COM method that takes a double (IRawElementProviderFragmentRoot::ElementProviderFromPoint, IRangeValueProvider::SetValue, and the client's SetValue and SetScrollPercent) gets it in a floating register. |
|
windows/uia/semtree
Package semtree builds semantics updates for the tests of UI Automation (SPEC §25.11): the nodes the way the engine fills them in, so that a test states only what it cares about.
|
Package semtree builds semantics updates for the tests of UI Automation (SPEC §25.11): the nodes the way the engine fills them in, so that a test states only what it cares about. |
|
windows/uia/uiatest
Package uiatest is the UI Automation client that tests use to look at the providers of package uia the way Narrator, NVDA and Accessibility Insights do (SPEC §25.11, §25.13): it creates CUIAutomation, finds the element of a window, walks the tree, reads properties, calls the patterns and listens to events.
|
Package uiatest is the UI Automation client that tests use to look at the providers of package uia the way Narrator, NVDA and Accessibility Insights do (SPEC §25.11, §25.13): it creates CUIAutomation, finds the element of a window, walks the tree, reads properties, calls the patterns and listens to events. |
|
windows/wasapi
Package wasapi is the WASAPI backend of the audio service on Windows (SPEC §28.3, step 31.6): playback and capture of float32 frames through the shared mode of the Windows audio engine, driven by events, with the list of devices and the default device from the device enumerator and its notification client (a COM object that Go makes, SPEC §25.2).
|
Package wasapi is the WASAPI backend of the audio service on Windows (SPEC §28.3, step 31.6): playback and capture of float32 frames through the shared mode of the Windows audio engine, driven by events, with the list of devices and the default device from the device enumerator and its notification client (a COM object that Go makes, SPEC §25.2). |
|
windows/win32
Package win32 is the one package that holds the bindings and the helpers for calling Windows without cgo (SPEC §25.2): System32-only DLL loading, the procedure tables, UTF-16 strings, the HRESULT and GetLastError errors, the COM calls over a vtable, the COM objects that Go implements, the callbacks, and the first kernel32 bindings.
|
Package win32 is the one package that holds the bindings and the helpers for calling Windows without cgo (SPEC §25.2): System32-only DLL loading, the procedure tables, UTF-16 strings, the HRESULT and GetLastError errors, the COM calls over a vtable, the COM objects that Go implements, the callbacks, and the first kernel32 bindings. |
|
windows/win32/layouttest
Package layouttest checks the Go mirrors of Win32 and COM structures, and the positions of COM methods in their vtables, against the mingw-w64 headers (SPEC §25.2, §6.3 rule 11).
|
Package layouttest checks the Go mirrors of Win32 and COM structures, and the positions of COM methods in their vtables, against the mingw-w64 headers (SPEC §25.2, §6.3 rule 11). |
|
windows/winpad
Package winpad is the gamepad service of Windows without the calls into Windows: it finds the pads that XInput serves and the HID pads that Raw Input lists, reads them, and reports them to the pad manager through platform.Gamepads (SPEC §28.2).
|
Package winpad is the gamepad service of Windows without the calls into Windows: it finds the pads that XInput serves and the HID pads that Raw Input lists, reads them, and reports them to the pad manager through platform.Gamepads (SPEC §28.2). |
|
Package proof holds the scenes that cmd/glutter-proof renders to prove, with a picture, that a step of docs/IMPLEMENTATION.md works.
|
Package proof holds the scenes that cmd/glutter-proof renders to prove, with a picture, that a step of docs/IMPLEMENTATION.md works. |
|
widgetscenes
Package widgetscenes holds the proof scenes that are made by pumping a widget tree through gluttertest.
|
Package widgetscenes holds the proof scenes that are made by pumping a widget tree through gluttertest. |
|
Package renderhost builds a RendererBinding on a fake engine with one view, lays out and paints a render tree through the pipeline, and keeps the scenes that the view rendered.
|
Package renderhost builds a RendererBinding on a fake engine with one view, lays out and paints a render tree through the pipeline, and keeps the scenes that the view rendered. |
|
Package renderingtest is a temporary harness for the tests of the rendering library: it builds a RendererBinding on a fake engine, lays out and paints a render tree through the pipeline, and renders the scene with the software renderer.
|
Package renderingtest is a temporary harness for the tests of the rendering library: it builds a RendererBinding on a fake engine, lays out and paints a render tree through the pipeline, and renders the scene with the software renderer. |
|
Package scenetest has the scenes that the display tests of viewport3d draw on each backend (SPEC §27.12): meshes made by plain code, the scenes, and a function that draws one into a texture and reads the pixels back.
|
Package scenetest has the scenes that the display tests of viewport3d draw on each backend (SPEC §27.12): meshes made by plain code, the scenes, and a function that draws one into a texture and reads the pixels back. |
|
Package svg parses SVG documents into a tree of resolved drawing commands.
|
Package svg parses SVG documents into a tree of resolved drawing commands. |
|
Package text lays out paragraphs on go-text: the font collection, shaping, line breaking, bidi and glyph outlines.
|
Package text lays out paragraphs on go-text: the font collection, shaping, line breaking, bidi and glyph outlines. |
|
androidfonts
Package androidfonts finds the system fonts of an Android device the way Skia's Android font manager does (src/ports/SkFontMgr_android.cpp and SkFontMgr_android_parser.cpp): it reads the font configuration of the system (/system/etc/fonts.xml, and the fonts_customization.xml of the vendor), builds the families with their names, aliases, weights, styles, languages and variants, and answers a request for a family, a weight, a slant and a language with the fonts in the order the system would try them, and a request for a character with the first font that has it.
|
Package androidfonts finds the system fonts of an Android device the way Skia's Android font manager does (src/ports/SkFontMgr_android.cpp and SkFontMgr_android_parser.cpp): it reads the font configuration of the system (/system/etc/fonts.xml, and the fonts_customization.xml of the vendor), builds the families with their names, aliases, weights, styles, languages and variants, and answers a request for a family, a weight, a slant and a language with the fonts in the order the system would try them, and a request for a character with the first font that has it. |
|
darwinfonts
Package darwinfonts finds the system fonts of macOS: it answers a request for a family, a weight, a slant and a language with the fonts in the order a Mac would try them, and a request for a character with the font that Core Text chooses for it, or the first font of a fallback chain that has it (SPEC §29.8).
|
Package darwinfonts finds the system fonts of macOS: it answers a request for a family, a weight, a slant and a language with the fonts in the order a Mac would try them, and a request for a character with the font that Core Text chooses for it, or the first font of a fallback chain that has it (SPEC §29.8). |
|
fonttest
Package fonttest makes test fonts from the fonts that the module bundles: the same outlines under another character map, so that a test can have many fonts that cover different characters, and a font whose character map cannot be read, without keeping font files in the repository.
|
Package fonttest makes test fonts from the fonts that the module bundles: the same outlines under another character map, so that a test can have many fonts that cover different characters, and a font whose character map cannot be read, without keeping font files in the repository. |
|
layout
Package layout lays out paragraphs: it turns the styled text of a ui.ParagraphBuilder into lines of shaped glyphs with go-text.
|
Package layout lays out paragraphs: it turns the styled text of a ui.ParagraphBuilder into lines of shaped glyphs with go-text. |
|
winfonts
Package winfonts finds the system fonts of Windows: it answers a request for a family, a weight, a slant and a language with the fonts in the order Windows would try them, and a request for a character with the first font of the fallback chain that has it (SPEC §25.8).
|
Package winfonts finds the system fonts of Windows: it answers a request for a family, a weight, a slant and a language with the fonts in the order Windows would try them, and a request for a character with the first font of the fallback chain that has it (SPEC §25.8). |
|
Package webtest is the harness that runs a Glutter web app in a headless browser (SPEC §17 "Browser tests", §23.8): an httptest server that serves a build made by internal/webtool and collects the PNG and the results the page posts, launchers for Chromium and Firefox with temporary profiles that run under timeout in their own process group and are killed when the test ends, and Shot, which glutter-web's shot command and the browser tests use.
|
Package webtest is the harness that runs a Glutter web app in a headless browser (SPEC §17 "Browser tests", §23.8): an httptest server that serves a build made by internal/webtool and collects the PNG and the results the page posts, launchers for Chromium and Firefox with temporary profiles that run under timeout in their own process group and are killed when the test ends, and Shot, which glutter-web's shot command and the browser tests use. |
|
Package webtool packages a Glutter app for the web (SPEC §23.1): it builds the program for js/wasm, writes the directory that a static web server can serve (index.html, wasm_exec.js, app.wasm and app.wasm.gz), and serves such a directory with the right types and with the gzip file for a browser that accepts it.
|
Package webtool packages a Glutter app for the web (SPEC §23.1): it builds the program for js/wasm, writes the directory that a static web server can serve (index.html, wasm_exec.js, app.wasm and app.wasm.gz), and serves such a directory with the right types and with the gzip file for a browser that accepts it. |
|
Package winetest is the harness of the tests that run a Windows program under Wine (SPEC §25.13): it makes the Wine prefix in .wine-test/prefix at the module root (with the workaround for the first boot, under a lock), starts a headless X server (scripts/headless-x11.sh) and the program under `timeout -k`, in a process group of its own and with the environment of §25.13, stops everything with `wineserver -k`, and finds what is left (Leftovers reads /proc).
|
Package winetest is the harness of the tests that run a Windows program under Wine (SPEC §25.13): it makes the Wine prefix in .wine-test/prefix at the module root (with the workaround for the first boot, under a lock), starts a headless X server (scripts/headless-x11.sh) and the program under `timeout -k`, in a process group of its own and with the environment of §25.13, stops everything with `wineserver -k`, and finds what is left (Leftovers reads /proc). |
|
Package wintool builds, runs and takes screenshots of Glutter apps for Windows, for glutter-windows (SPEC §25.1): it generates the application manifest, writes the resources of the .exe (the manifest, the icon with its sizes, the version information) as a COFF object with a .rsrc section in pure Go, runs the Go toolchain with that object added through `go build -overlay`, and starts the .exe under Wine through internal/winetest.
|
Package wintool builds, runs and takes screenshots of Glutter apps for Windows, for glutter-windows (SPEC §25.1): it generates the application manifest, writes the resources of the .exe (the manifest, the icon with its sizes, the version information) as a COFF object with a .rsrc section in pure Go, runs the Go toolchain with that object added through `go build -overlay`, and starts the .exe under Wine through internal/winetest. |
Click to show internal directories.
Click to hide internal directories.