summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-12-22 12:22:42 +0800
committerChia-I Wu <[email protected]>2010-12-22 13:22:36 +0800
commit3a93c348280767949c80ff6dde1645b77cab143d (patch)
tree74e428a527f2f6d0b7219856cf49c2a9fb1f1786 /src/gallium/state_trackers
parent0364c08d7f219ef3a250a4fd8396aacfdddf0368 (diff)
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.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/egl/common/egl_g3d.c3
-rw-r--r--src/gallium/state_trackers/egl/common/native.h1
-rw-r--r--src/gallium/state_trackers/egl/gdi/native_gdi.c1
-rw-r--r--src/gallium/state_trackers/egl/x11/native_dri2.c2
-rw-r--r--src/gallium/state_trackers/egl/x11/native_ximage.c2
5 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.c b/src/gallium/state_trackers/egl/common/egl_g3d.c
index a3750ac56fb..4641dd27617 100644
--- a/src/gallium/state_trackers/egl/common/egl_g3d.c
+++ b/src/gallium/state_trackers/egl/common/egl_g3d.c
@@ -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];
diff --git a/src/gallium/state_trackers/egl/common/native.h b/src/gallium/state_trackers/egl/common/native.h
index a66e81def6f..58d844e5cd4 100644
--- a/src/gallium/state_trackers/egl/common/native.h
+++ b/src/gallium/state_trackers/egl/common/native.h
@@ -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];
};
diff --git a/src/gallium/state_trackers/egl/gdi/native_gdi.c b/src/gallium/state_trackers/egl/gdi/native_gdi.c
index d259e6edc89..2d0450604c6 100644
--- a/src/gallium/state_trackers/egl/gdi/native_gdi.c
+++ b/src/gallium/state_trackers/egl/gdi/native_gdi.c
@@ -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;
diff --git a/src/gallium/state_trackers/egl/x11/native_dri2.c b/src/gallium/state_trackers/egl/x11/native_dri2.c
index 92203e1176c..83892e3f5f5 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 3c32f379a2f..d4f4dd04df4 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++;
}