Class pinnacle.debug ​
Debugging utilities.
WARNING
This module is not governed by the API stability guarantees.
Functions ​
function set_damage_visualization ​
function pinnacle.debug.set_damage_visualization(set: boolean)Sets damage visualization.
When on, parts of the screen that are damaged after rendering will have red rectangles drawn where the damage is.
Parameters ​
set: boolean
function toggle_damage_visualization ​
function pinnacle.debug.toggle_damage_visualization()Toggles damage visualization.
When on, parts of the screen that are damaged after rendering will have red rectangles drawn where the damage is.
function set_opaque_region_visualization ​
function pinnacle.debug.set_opaque_region_visualization(set: boolean)Sets opaque region visualization.
When on, parts of the screen that are opaque will have a transparent blue rectangle drawn over it, while parts that are not opaque will have a transparent red rectangle drawn.
Parameters ​
set: boolean
function toggle_opaque_region_visualization ​
function pinnacle.debug.toggle_opaque_region_visualization()Toggles opaque region visualization.
When on, parts of the screen that are opaque will have a transparent blue rectangle drawn over it, while parts that are not opaque will have a transparent red rectangle drawn.
function set_cursor_plane_scanout ​
function pinnacle.debug.set_cursor_plane_scanout(set: boolean)Sets cursor plane scanout.
Parameters ​
set: boolean
function toggle_cursor_plane_scanout ​
function pinnacle.debug.toggle_cursor_plane_scanout()Toggles cursor plane scanout.
function set_process_piping ​
function pinnacle.debug.set_process_piping(set: boolean)Enables or disables process spawning setting up pipes to give fds to the config.
Parameters ​
set: boolean
function toggle_process_piping ​
function pinnacle.debug.toggle_process_piping()Toggles process spawning setting up pipes to give fds to the config.