st/egl: Remove native_config::slow_config.
authorChia-I Wu <olv@lunarg.com>
Wed, 22 Dec 2010 04:22:42 +0000 (12:22 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 22 Dec 2010 05:22:36 +0000 (13:22 +0800)
In direct rendering scenario, it is not needed until an EGLDisplay can
support both HW and SW pipe screens.

src/gallium/state_trackers/egl/common/egl_g3d.c
src/gallium/state_trackers/egl/common/native.h
src/gallium/state_trackers/egl/gdi/native_gdi.c
src/gallium/state_trackers/egl/x11/native_dri2.c
src/gallium/state_trackers/egl/x11/native_ximage.c

index a3750ac56fb88035cc9512094a96c2c110b04a8b..4641dd2761759ccdb0b65ef480411af86fa34578 100644 (file)
@@ -229,9 +229,6 @@ init_config_attributes(_EGLConfig *conf, const struct native_config *nconf,
    conf->Samples = nconf->samples;
    conf->SampleBuffers = 0;
 
-   if (nconf->slow_config)
-      conf->ConfigCaveat = EGL_SLOW_CONFIG;
-
    if (nconf->transparent_rgb) {
       conf->TransparentType = EGL_TRANSPARENT_RGB;
       conf->TransparentRedValue = nconf->transparent_rgb_values[0];
index a66e81def6f0463b8fa62feb9a62a5e66a0dece3..58d844e5cd469c172aef528667eef749c3283baa 100644 (file)
@@ -127,7 +127,6 @@ struct native_config {
    int native_visual_type;
    int level;
    int samples;
-   boolean slow_config;
    boolean transparent_rgb;
    int transparent_rgb_values[3];
 };
index d259e6edc8914f04944d98f841985a3f4dac3c72..2d0450604c6b7d92301fccc206e62a570ada5d20 100644 (file)
@@ -319,7 +319,6 @@ gdi_display_get_configs(struct native_display *ndpy, int *num_configs)
          nconf->color_format = formats[i];
 
          nconf->window_bit = TRUE;
-         nconf->slow_config = TRUE;
       }
 
       gdpy->num_configs = count;
index 92203e1176c85f583a796e2b0458c130a18b9c7b..83892e3f5f5c684eff15eafbd7b502ed4a2d15c2 100644 (file)
@@ -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;
index 3c32f379a2f527368633e45bc4ca5934f46ca85d..d4f4dd04df4ef6f600405d7cf8f074f35fb968e1 100644 (file)
@@ -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++;
       }