vulkan/overlay: Add a control socket.
[mesa.git] / src / vulkan / overlay-layer / overlay_params.h
index a145dd429340b9b1e5aeee322b859f49b6dc9d63..7ff092daeff18c251caf3aeb83e8c99bd157a9e0 100644 (file)
@@ -69,6 +69,7 @@ extern "C" {
    OVERLAY_PARAM_CUSTOM(width)                       \
    OVERLAY_PARAM_CUSTOM(height)                      \
    OVERLAY_PARAM_CUSTOM(no_display)                  \
+   OVERLAY_PARAM_CUSTOM(control)                     \
    OVERLAY_PARAM_CUSTOM(help)
 
 enum overlay_param_position {
@@ -91,6 +92,7 @@ struct overlay_params {
    bool enabled[OVERLAY_PARAM_ENABLED_MAX];
    enum overlay_param_position position;
    FILE *output_file;
+   int control;
    uint32_t fps_sampling_period; /* us */
    bool help;
    bool no_display;