[Mesa-dev] [PATCH 1/2] Revert "egl: stop claiming support for pbuffer + msaa"

Liu Zhiquan zhiquan.liu at intel.com
Thu Jan 12 07:14:39 UTC 2017


This reverts commit 4d6d55deef291b489af4d7870c6f5eb223c8da5d.

SurfaceType added EGL_PBUFFER_BIT when dri_single_config is null.
This will fix in "egl: correct surface_type when add config" patch.
---
 src/egl/drivers/dri2/egl_dri2.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 52fbdff..ac231d0 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -329,15 +329,6 @@ dri2_add_config(_EGLDisplay *disp, const __DRIconfig *dri_config, int id,
       surface_type &= ~EGL_PIXMAP_BIT;
    }
 
-   /* No support for pbuffer + MSAA for now.
-    *
-    * XXX TODO: pbuffer + MSAA does not work and causes crashes.
-    * See QT bugreport: https://bugreports.qt.io/browse/QTBUG-47509
-    */
-   if (base.Samples) {
-      surface_type &= ~EGL_PBUFFER_BIT;
-   }
-
    conf->base.SurfaceType |= surface_type;
 
    return conf;
-- 
1.9.1



More information about the mesa-dev mailing list