s/radeon.
Seems to work well on my rv730, with every game I can throw at it.
--
Will Dyson
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
K in this regard.
I had hoped to find time to look into it more deeply before now. I
haven't forgotten, and will keep working on it.
--
Will Dyson
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
nd what's going on here. The dstLevel should already
> be <= the texture max level. See the loop at line 2376. If you step into
> the new _mesa_TexParameteri() call with gdb, are you seeing dstLevel >
> texObj->MaxLevel?
Yes, I am. After the first time
This reverts commit a9ee95651131e27d5acf3d10909b5b7e5c8d3e92.
It was based on a failure to understand how the driver allocates
memory, and causes a regression with Celestia.
Signed-off-by: Will Dyson
---
src/mesa/drivers/dri/radeon/radeon_texture.c | 11 ---
1 files changed, 4
The radeon driver will fail to allocate miptree space for a new level
that is outside of BaseLevel..MaxLevel. Then it fails later, trying to
migrate the level to a miptree. Set MaxLevel to dstLevel before
allocating the level, and avoid triggering the problem.
Signed-off-by: Will Dyson
---
src
My change to image_matches_texture_obj() caused a regression when using
texImage with level > MaxLevel and pixels != null. Revert it, as the orignal
check was correct. Instead, change _mesa_meta_GenerateMipmap() to temporarily
raise MaxLevel when calling texImage. This allows radeon to correctly al
Use _mesa_meta_GenerateMipmap. It is Fast Enough(tm).
---
src/mesa/drivers/dri/radeon/radeon_texture.c | 11 ---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.c
b/src/mesa/drivers/dri/radeon/radeon_texture.c
index 5cb33a4..bcac
When generating or uploading a new (higher) mipmap level for an image,
we can need to allocate a miptree for a level greater than
texObj->MaxLevel.
---
src/mesa/drivers/dri/radeon/radeon_texture.c | 11 +++
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/mesa/drivers/d
This can happen when checking if a software fallback for a higher level
operation (such as GenerateMipmap) is needed.
---
src/mesa/drivers/dri/radeon/radeon_fbo.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mesa/drivers/dri/radeon/radeon_fbo.c
b/src/mesa/dr
Wire up _mesa_meta_GenerateMipmap() for radeon. This greatly improves the
playability of some games, such as FlightGear and the recently GPL'd game
Lugaru.
FlightGear still generates many fallbacks due to Alpha-only textures, but
only at startup time.
V2:
Address comments from Maciej Cencora .
Fi
2010/5/23 Mathias Fröhlich :
>
> Hi,
>
> On Tuesday 18 May 2010 21:09:56 Will Dyson wrote:
>> Wire up _mesa_meta_GenerateMipmap() for radeon. This greatly improves the
>> playability of some games, such as FlightGear and the recently GPL'd game
>> Lugaru.
>
Use _mesa_meta_GenerateMipmap. It is Fast Enough(tm).
---
src/mesa/drivers/dri/radeon/radeon_texture.c | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.c
b/src/mesa/drivers/dri/radeon/radeon_texture.c
index 6ceff88.
This can happen when checking if a software fallback for a higher level
operation (such as GenerateMipmap) is needed.
---
src/mesa/drivers/dri/radeon/radeon_fbo.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mesa/drivers/dri/radeon/radeon_fbo.c
b/src/mesa/dr
When generating or uploading a new (higher) mipmap level for an image,
we can need to allocate a miptree for a level greater than
texObj->MaxLevel.
---
src/mesa/drivers/dri/radeon/radeon_texture.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/r
Wire up _mesa_meta_GenerateMipmap() for radeon. This greatly improves the
playability of some games, such as FlightGear and the recently GPL'd game
Lugaru.
FlightGear still generates many fallbacks due to Alpha-only textures, but
only at startup time.
This has only been tested on r600. r300, r
15 matches
Mail list logo