util: Add a mapping from VkFormat to PIPE_FORMAT.
[mesa.git] / src / vulkan / overlay-layer / overlay_params.h
index 6bbb2e4e657394a207850f4bb7d114f249c06dc8..a145dd429340b9b1e5aeee322b859f49b6dc9d63 100644 (file)
@@ -50,6 +50,7 @@ extern "C" {
    OVERLAY_PARAM_BOOL(pipeline_raytracing)           \
    OVERLAY_PARAM_BOOL(acquire)                       \
    OVERLAY_PARAM_BOOL(acquire_timing)                \
+   OVERLAY_PARAM_BOOL(present_timing)                \
    OVERLAY_PARAM_BOOL(vertices)                      \
    OVERLAY_PARAM_BOOL(primitives)                    \
    OVERLAY_PARAM_BOOL(vert_invocations)              \
@@ -65,6 +66,8 @@ extern "C" {
    OVERLAY_PARAM_CUSTOM(fps_sampling_period)         \
    OVERLAY_PARAM_CUSTOM(output_file)                 \
    OVERLAY_PARAM_CUSTOM(position)                    \
+   OVERLAY_PARAM_CUSTOM(width)                       \
+   OVERLAY_PARAM_CUSTOM(height)                      \
    OVERLAY_PARAM_CUSTOM(no_display)                  \
    OVERLAY_PARAM_CUSTOM(help)
 
@@ -91,6 +94,8 @@ struct overlay_params {
    uint32_t fps_sampling_period; /* us */
    bool help;
    bool no_display;
+   unsigned width;
+   unsigned height;
 };
 
 const extern char *overlay_param_names[];