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.
This commit is contained in:
Chia-I Wu
2010-12-22 12:22:42 +08:00
parent 0364c08d7f
commit 3a93c34828
5 changed files with 0 additions and 9 deletions
@@ -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];
@@ -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];
};
@@ -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;
@@ -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;
@@ -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++;
}