diff options
author | Jerome Glisse <[email protected]> | 2009-05-20 16:34:06 +0200 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2009-05-20 16:34:06 +0200 |
commit | c696dd0f62c195d71cf7ecbdd04d9b156dd0da0b (patch) | |
tree | d06337610f0eb1b5c68ae4522ad787fadbeb024c /src/mesa/drivers/dri/radeon/radeon_context.c | |
parent | 8308bf9ee155b405ad42e6621daf33a108330418 (diff) |
radeon: set max texture size
This still need some work to actually report somethings reasonable
if no memory manager is available.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_context.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_context.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c index 2600c78df39..8f780c443c9 100644 --- a/src/mesa/drivers/dri/radeon/radeon_context.c +++ b/src/mesa/drivers/dri/radeon/radeon_context.c @@ -283,6 +283,11 @@ r100CreateContext( const __GLcontextModes *glVisual, i = driQueryOptioni( &rmesa->radeon.optionCache, "allow_large_textures"); + /* FIXME: When no memory manager is available we should set this + * to some reasonable value based on texture memory pool size */ + /* FIXME: does r100 support 2048x2048 texture ? */ + ctx->Const.MaxTextureLevels = 12; + ctx->Const.MaxTextureMaxAnisotropy = 16.0; /* No wide points. |