Directories
¶
| Path | Synopsis |
|---|---|
|
Command glutter-android builds, installs, runs and takes screenshots of Glutter apps on Android (SPEC §24.1):
|
Command glutter-android builds, installs, runs and takes screenshots of Glutter apps on Android (SPEC §24.1): |
|
Command glutter-gen runs the code generators: Wayland protocol bindings, key tables, material re-exports, CopyWith methods and icons, the shaders (`shaders` for the renderer's own, `gpushaders` for an app's, SPEC §27.3), and the API check.
|
Command glutter-gen runs the code generators: Wayland protocol bindings, key tables, material re-exports, CopyWith methods and icons, the shaders (`shaders` for the renderer's own, `gpushaders` for an app's, SPEC §27.3), and the API check. |
|
internal/androiddex
Package androiddex implements the `glutter-gen android-dex` subcommand: it compiles the Java of the Android embedding with javac and d8 into internal/androidtool/classes.dex (D22, SPEC §24.2).
|
Package androiddex implements the `glutter-gen android-dex` subcommand: it compiles the Java of the Android embedding with javac and d8 into internal/androidtool/classes.dex (D22, SPEC §24.2). |
|
internal/apicheck
Package apicheck implements the `glutter-gen apicheck` subcommand, which reads the public packages and reports what breaks the API conventions of SPEC §12.
|
Package apicheck implements the `glutter-gen apicheck` subcommand, which reads the public packages and reports what breaks the API conventions of SPEC §12. |
|
internal/audiochannels
Package audiochannels implements the `glutter-gen audiochannels` subcommand, which turns the channel converters of SDL 3 (src/audio/SDL_audio_channel_converters.h, which SDL generates itself) into the matrices that internal/audiocvt applies (SPEC §28.1, §28.3).
|
Package audiochannels implements the `glutter-gen audiochannels` subcommand, which turns the channel converters of SDL 3 (src/audio/SDL_audio_channel_converters.h, which SDL generates itself) into the matrices that internal/audiocvt applies (SPEC §28.1, §28.3). |
|
internal/copywith
Package copywith implements the `glutter-gen copywith` subcommand, which generates the CopyWith methods of the immutable value classes (ThemeData, ColorScheme, TextTheme...), as SPEC §12.3 describes.
|
Package copywith implements the `glutter-gen copywith` subcommand, which generates the CopyWith methods of the immutable value classes (ThemeData, ColorScheme, TextTheme...), as SPEC §12.3 describes. |
|
internal/errcheck
Package errcheck implements the `glutter-gen errcheck` subcommand, which reads the whole module and reports what breaks the rules of github.com/rm4n0s/errors (its AI_GUIDE.md, summarized in CLAUDE.md, "Error handling", and SPEC §14.4).
|
Package errcheck implements the `glutter-gen errcheck` subcommand, which reads the whole module and reports what breaks the rules of github.com/rm4n0s/errors (its AI_GUIDE.md, summarized in CLAUDE.md, "Error handling", and SPEC §14.4). |
|
internal/gamepaddb
Package gamepaddb implements the `glutter-gen gamepaddb` subcommand, which turns the two tables of gamepads in SDL 3 into Go: the mapping lines of src/joystick/SDL_gamepad_db.h and the vendor and product numbers of src/joystick/controller_list.h (SPEC §28.1).
|
Package gamepaddb implements the `glutter-gen gamepaddb` subcommand, which turns the two tables of gamepads in SDL 3 into Go: the mapping lines of src/joystick/SDL_gamepad_db.h and the vendor and product numbers of src/joystick/controller_list.h (SPEC §28.1). |
|
internal/icons
Package icons implements the `glutter-gen icons` subcommand, which generates the Material icon constants.
|
Package icons implements the `glutter-gen icons` subcommand, which generates the Material icon constants. |
|
internal/keys
Package keys implements the `glutter-gen keys` subcommand, which generates the key tables (XKB keycode to Flutter key ids).
|
Package keys implements the `glutter-gen keys` subcommand, which generates the key tables (XKB keycode to Flutter key ids). |
|
internal/reexport
Package reexport implements the `glutter-gen reexport` subcommand, which generates the wrappers that re-export package widgets from package material.
|
Package reexport implements the `glutter-gen reexport` subcommand, which generates the wrappers that re-export package widgets from package material. |
|
internal/shaders
Package shaders implements the `glutter-gen shaders` subcommand: it compiles the WGSL shaders of the explicit renderer to SPIR-V and to HLSL (shader model 5.1) with naga, and writes the Go file that holds them (D20, D25).
|
Package shaders implements the `glutter-gen shaders` subcommand: it compiles the WGSL shaders of the explicit renderer to SPIR-V and to HLSL (shader model 5.1) with naga, and writes the Go file that holds them (D20, D25). |
|
internal/uintptrcheck
Package uintptrcheck implements the `glutter-gen uintptrcheck` subcommand, which reads the Windows code and reports a Go pointer that is turned into a uintptr anywhere but in the argument list of a call that keeps it alive (SPEC §25.2).
|
Package uintptrcheck implements the `glutter-gen uintptrcheck` subcommand, which reads the Windows code and reports a Go pointer that is turned into a uintptr anywhere but in the argument list of a call that keeps it alive (SPEC §25.2). |
|
internal/wayland
Package wayland implements the `glutter-gen wayland` subcommand: it reads the Wayland protocol XML files and writes the Go bindings, one *_gen.go file per protocol, for package wl.
|
Package wayland implements the `glutter-gen wayland` subcommand: it reads the Wayland protocol XML files and writes the Go bindings, one *_gen.go file per protocol, for package wl. |
|
Command glutter-macos builds, runs, takes screenshots of and measures Glutter apps on macOS (SPEC §29.1), as glutter-windows does for Windows: `build` makes the signed app bundle (the Info.plist, the .icns icon, a universal executable with -universal, ad-hoc signing, the hardened runtime with -hardened), `run` builds it and starts it with the log on the terminal, `shot` runs the app with GLUTTER_SCREENSHOT so that it saves its own first settled frame (proof method G, SPEC §29.13: no screen recording permission), and `perf` measures the size, the start, the idle CPU, the memory and the frames as SPEC §15 says.
|
Command glutter-macos builds, runs, takes screenshots of and measures Glutter apps on macOS (SPEC §29.1), as glutter-windows does for Windows: `build` makes the signed app bundle (the Info.plist, the .icns icon, a universal executable with -universal, ad-hoc signing, the hardened runtime with -hardened), `run` builds it and starts it with the log on the terminal, `shot` runs the app with GLUTTER_SCREENSHOT so that it saves its own first settled frame (proof method G, SPEC §29.13: no screen recording permission), and `perf` measures the size, the start, the idle CPU, the memory and the frames as SPEC §15 says. |
|
Command glutter-proof renders a proof scene with the software renderer and saves it as a PNG, as proof that a step of docs/IMPLEMENTATION.md works.
|
Command glutter-proof renders a proof scene with the software renderer and saves it as a PNG, as proof that a step of docs/IMPLEMENTATION.md works. |
|
Command glutter-web builds, serves and screenshots Glutter apps for the web (SPEC §23.1, §23.8):
|
Command glutter-web builds, serves and screenshots Glutter apps for the web (SPEC §23.1, §23.8): |
|
Command glutter-windows builds, runs and takes screenshots of Glutter apps for Windows (SPEC §25.1):
|
Command glutter-windows builds, runs and takes screenshots of Glutter apps for Windows (SPEC §25.1): |
Click to show internal directories.
Click to hide internal directories.