[Mesa-dev] [PATCH 05/21] x11: Don't call _mesa_enable_._._extensions and _mesa_enable_sw_extensions
Ian Romanick
idr at freedesktop.org
Thu Jun 27 18:20:18 PDT 2013
From: Ian Romanick <ian.d.romanick at intel.com>
_mesa_enable_sw_extensions enables all the extensions (and more) that
the others enable. Also, don't duplicate the DXTn checks.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
src/mesa/drivers/x11/xm_api.c | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index b7c94aa..ac290a5 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -922,16 +922,7 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list )
}
_mesa_enable_sw_extensions(mesaCtx);
- _mesa_enable_1_3_extensions(mesaCtx);
- _mesa_enable_1_4_extensions(mesaCtx);
- _mesa_enable_1_5_extensions(mesaCtx);
- _mesa_enable_2_0_extensions(mesaCtx);
- _mesa_enable_2_1_extensions(mesaCtx);
- if (mesaCtx->Mesa_DXTn) {
- mesaCtx->Extensions.EXT_texture_compression_s3tc = GL_TRUE;
- mesaCtx->Extensions.ANGLE_texture_compression_dxt = GL_TRUE;
- }
- mesaCtx->Extensions.TDFX_texture_compression_FXT1 = GL_TRUE;
+
#if ENABLE_EXT_timer_query
mesaCtx->Extensions.EXT_timer_query = GL_TRUE;
#endif
--
1.8.1.4
More information about the mesa-dev
mailing list