Displaying 2 results from an estimated 2 matches for "freetextureimagebuff".
Did you mean:
freetextureimagebuffer
2012 Jul 06
0
[PATCH] dri/nouveau: Add AllocTextureImageBuffer() implementation
Fixes mipmap generation.
Signed-off-by: Viktor Novotn? <noviktor at seznam.cz>
---
Hi,
this fixes bug with mipmaps I observed on nv25, where in _mesa_prepare_mipmap_level 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...
2013 Oct 04
1
[PATCH] nouveau_vieux: add AllocTextureImageBuffer implementation
...u_texsubimage(struct gl_context *ctx, GLint dims,
struct gl_texture_image *ti,
@@ -634,6 +642,7 @@ nouveau_texture_functions_init(struct dd_function_table *functions)
functions->DeleteTexture = nouveau_texture_free;
functions->NewTextureImage = nouveau_teximage_new;
functions->FreeTextureImageBuffer = nouveau_teximage_free;
+ functions->AllocTextureImageBuffer = nouveau_teximage_alloc;
functions->ChooseTextureFormat = nouveau_choose_tex_format;
functions->TexImage = nouveau_teximage_123d;
functions->TexSubImage = nouveau_texsubimage_123d;
--
1.8.1.5