diff options
author | Dave Airlie <airliedfreedesktop.org> | 2005-08-03 10:22:31 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2005-08-03 10:22:31 +0000 |
commit | 7f5925d57c1405ff40acb2fd40b41ab4f189f7a4 (patch) | |
tree | 119a15b9c9c88fa21d8b60013e998b4be9df8daf /src/glx/mini/miniglx.c | |
parent | 7adcedcd54f6a436512c172e22e98097bfbdbc50 (diff) |
Add color tiling support to miniglx for radeon
(Stephane Marchesin + Dave Airlie)
Diffstat (limited to 'src/glx/mini/miniglx.c')
-rw-r--r-- | src/glx/mini/miniglx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/mini/miniglx.c b/src/glx/mini/miniglx.c index c3001e97651..1dd21bd1f0e 100644 --- a/src/glx/mini/miniglx.c +++ b/src/glx/mini/miniglx.c @@ -878,6 +878,7 @@ static int __read_config_file( Display *dpy ) dpy->rotateMode = 0; dpy->driverContext.agpmode = 1; dpy->driverContext.isPCI = 0; + dpy->driverContext.colorTiling = 0; fname = getenv("MINIGLX_CONF"); if (!fname) fname = "/etc/miniglx.conf"; @@ -950,6 +951,9 @@ static int __read_config_file( Display *dpy ) else if (strcmp(opt, "isPCI") == 0) { dpy->driverContext.isPCI = atoi(val) ? 1 : 0; } + else if (strcmp(opt, "colorTiling") == 0) { + dpy->driverContext.colorTiling = atoi(val) ? 1 : 0; + } } fclose(file); |