gz-sim
gz-sim copied to clipboard
Create APIs that describe system runtime configuration
Desired behavior
Introduce APIs that can introspect the runtime configuration of the system. Specifically to determine what graphics hardware capabilities are available, but other interesting information may be worthwhile (operating system, build type, hardware/network configurations).
We have some capabilities available via the VideoEncoder system in gz-common to determine what hardware encoders are available here: https://github.com/gazebosim/gz-common/blob/gz-common5/av/src/HWEncoder.cc
Additionally, OGRE rendering can determine what video card, window manager, and render system types are available, but we don't expose those via gz-rendering currently.
Knowing that hardware vs software rendering or video encoding are available can be used to throttle processes that take a lot of time without acceleration.