glutter-gen

command
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: BSD-3-Clause Imports: 18 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

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.

Flutter: no counterpart.

Directories

Path Synopsis
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).
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.
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).
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.
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).
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).
icons
Package icons implements the `glutter-gen icons` subcommand, which generates the Material icon constants and, with -cupertino, the CupertinoIcons.
Package icons implements the `glutter-gen icons` subcommand, which generates the Material icon constants and, with -cupertino, the CupertinoIcons.
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).
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.
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).
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).
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.

Jump to

Keyboard shortcuts

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