egl/x11: Re-allocate buffers if format is suboptimal
[mesa.git] / src / loader / loader_dri3_helper.h
index c54c668032e6e35f167808122986124ac9e1aa8d..de22c19a578fae7da3b967cadfe0dca174daebf2 100644 (file)
@@ -61,6 +61,7 @@ struct loader_dri3_buffer {
    struct xshmfence *shm_fence; /* pointer to xshmfence object */
    bool         busy;           /* Set on swap, cleared on IdleNotify */
    bool         own_pixmap;     /* We allocated the pixmap ID, free on destroy */
+   bool         reallocate;     /* Buffer should be reallocated and not reused */
 
    uint32_t     num_planes;
    uint32_t     size;