Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24075>
#include <dlfcn.h>
#include "dri_common.h"
#include "drisw_priv.h"
+#include "dri3_priv.h"
#include <X11/extensions/shmproto.h>
#include <assert.h>
#include <vulkan/vulkan_core.h>
glx_config_destroy_list(psc->base.visuals);
psc->base.visuals = visuals;
+ if (pdpyp->zink) {
+ bool err;
+ psc->has_multibuffer = dri3_check_multibuffer(priv->dpy, &err);
+ }
+
psc->driver_configs = driver_configs;
psc->base.vtable = &drisw_screen_vtable;
void *driver;
const char *name;
+
+ bool has_multibuffer;
};
struct drisw_drawable