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/common/egl_g3d.c | 3 --- src/gallium/state_trackers/egl/common/native.h | 1 - 2 files changed, 4 deletions(-) (limited to 'src/gallium/state_trackers/egl/common') diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.c b/src/gallium/state_trackers/egl/common/egl_g3d.c index a3750ac56f..4641dd2761 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 a66e81def6..58d844e5cd 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]; }; -- cgit v1.2.3