Skip to content

sh_show_rmcount is registered and documented but has no consumer #62

Description

@adiazpar

Found while fixing #58, which had the same shape.

sh_show_rmcount is registered with the engine (src/backend/cvars.c) and documented in docs/capabilities.md and the site guide, but nothing in the backend ever reads it back. Grep for its read index B2_CVAR_SH_SHOW_RMCOUNT returns exactly one hit: its own #define. So setting it does nothing.

This is not the same fix as #58. There the switch just needed wiring to a path that already existed. Here the thing it is supposed to switch on -- an on-screen render-node count -- has no renderer hook to hang off, so this is a feature to build rather than a wire to connect.

Filing it so it is tracked rather than rediscovered by a user. Until it is either implemented or removed, the cvar and its documentation promise something the build does not do.

Worth deciding which: implement it, or drop the cvar and its two doc entries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions