Displaying 1 result from an estimated 1 matches for "nouveau_alloc_texture_image_buff".
Did you mean:
nouveau_alloc_texture_image_buffer
2012 Jul 06
0
[PATCH] dri/nouveau: Add AllocTextureImageBuffer() implementation
...call to
Driver.FreeTextureImageBuffer unreferences nouveau_teximage's nouveau_surface, which then
doesnt get reallocated in Driver.AllocTextureImageBuffer, because vieux uses swrast implementation,
ultimately leading to assertion failure in get_rt_format in nv20_buffer_emit.
Apart from adding nouveau_alloc_texture_image_buffer I renamed nouveau_teximage_free.
What I am unsure of is the code concerning swrast_texture_image and the test for early return
in nouveau_alloc_texture_image_buffer.
Viktor
src/mesa/drivers/dri/nouveau/nouveau_texture.c | 71 +++++++++++++++++++-----
1 files changed, 56 insertions(+), 15 d...