Directories
¶
| Path | Synopsis |
|---|---|
|
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 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. |
|
gles
Package gles is the OpenGL ES 3.0 renderer.
|
Package gles is the OpenGL ES 3.0 renderer. |
|
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). |
|
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 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. |
|
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. |
|
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/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) and the struct-layout test helper 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) and the struct-layout test helper that the backends share. |
|
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/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. |
|
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 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. |
|
fontconfig
Package fontconfig lets a text.Collection use libfontconfig to match fonts, as Flutter's Linux engine does: the family names, the user's UI font, and the emoji, CJK and per-language preferences then follow the fontconfig settings.
|
Package fontconfig lets a text.Collection use libfontconfig to match fonts, as Flutter's Linux engine does: the family names, the user's UI font, and the emoji, CJK and per-language preferences then follow the fontconfig settings. |
|
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. |
Click to show internal directories.
Click to hide internal directories.