diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2005-10-24 09:59:43 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2005-10-24 09:59:43 +0000 |
commit | 60b639b9a6df6e53997d3c8acdb768229b654a5f (patch) | |
tree | 71ef3ad74c762a2724bc35dfff9372e6417d32a1 /src/mesa/drivers/dri/sis/sis_screen.c | |
parent | 971bdc193cb4ce07f4ca20bac13276095b5f0b83 (diff) |
- Add a few more hardware internal formats that are supported. Some remaining
ones require custom texstore, so they aren't done yet.
- Add YCBCR support commented out, since the yuvsquare test didn't work with
just the bits I've added.
- Add the no-compression GL_ARB_texture_compression support.
- Add the driconf texture depth option and try to respect it.
Diffstat (limited to 'src/mesa/drivers/dri/sis/sis_screen.c')
-rw-r--r-- | src/mesa/drivers/dri/sis/sis_screen.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_screen.c b/src/mesa/drivers/dri/sis/sis_screen.c index d213cc406c..7409fd5939 100644 --- a/src/mesa/drivers/dri/sis/sis_screen.c +++ b/src/mesa/drivers/dri/sis/sis_screen.c @@ -46,16 +46,22 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "GL/internal/dri_interface.h" +#define SIS_AGP_DISABLE(def) \ +DRI_CONF_OPT_BEGIN(agp_disable,bool,def) \ + DRI_CONF_DESC(en,"Disable AGP vertex dispatch") \ +DRI_CONF_OPT_END + PUBLIC const char __driConfigOptions[] = DRI_CONF_BEGIN + DRI_CONF_SECTION_QUALITY + DRI_CONF_TEXTURE_DEPTH(DRI_CONF_TEXTURE_DEPTH_FB) + DRI_CONF_SECTION_END DRI_CONF_SECTION_DEBUG - DRI_CONF_OPT_BEGIN(agp_disable,bool,false) - DRI_CONF_DESC(en,"Disable AGP vertex dispatch") - DRI_CONF_OPT_END - DRI_CONF_NO_RAST(false) + SIS_AGP_DISABLE(false) + DRI_CONF_NO_RAST(false) DRI_CONF_SECTION_END DRI_CONF_END; -static const GLuint __driNConfigOptions = 2; +static const GLuint __driNConfigOptions = 3; extern const struct dri_extension card_extensions[]; |