From 3a93c348280767949c80ff6dde1645b77cab143d Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 22 Dec 2010 12:22:42 +0800 Subject: st/egl: Remove native_config::slow_config. In direct rendering scenario, it is not needed until an EGLDisplay can support both HW and SW pipe screens. --- src/gallium/state_trackers/egl/x11/native_dri2.c | 2 -- src/gallium/state_trackers/egl/x11/native_ximage.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'src/gallium/state_trackers/egl/x11') diff --git a/src/gallium/state_trackers/egl/x11/native_dri2.c b/src/gallium/state_trackers/egl/x11/native_dri2.c index 92203e1176..83892e3f5f 100644 --- a/src/gallium/state_trackers/egl/x11/native_dri2.c +++ b/src/gallium/state_trackers/egl/x11/native_dri2.c @@ -590,8 +590,6 @@ dri2_display_convert_config(struct native_display *ndpy, nconf->level = mode->level; nconf->samples = mode->samples; - nconf->slow_config = (mode->visualRating == GLX_SLOW_CONFIG); - if (mode->transparentPixel == GLX_TRANSPARENT_RGB) { nconf->transparent_rgb = TRUE; nconf->transparent_rgb_values[0] = mode->transparentRed; diff --git a/src/gallium/state_trackers/egl/x11/native_ximage.c b/src/gallium/state_trackers/egl/x11/native_ximage.c index 3c32f379a2..d4f4dd04df 100644 --- a/src/gallium/state_trackers/egl/x11/native_ximage.c +++ b/src/gallium/state_trackers/egl/x11/native_ximage.c @@ -420,8 +420,6 @@ ximage_display_get_configs(struct native_display *ndpy, int *num_configs) xconf->base.native_visual_type = xconf->visual->class; #endif - xconf->base.slow_config = TRUE; - count++; } -- cgit v1.2.3