search for: nouveau_teximage_free

Displaying 2 results from an estimated 2 matches for "nouveau_teximage_free".

2012 Jul 06
0
[PATCH] dri/nouveau: Add AllocTextureImageBuffer() implementation
...rences 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 deletions(-) diff --git a/src/mesa...
2013 Oct 04
1
[PATCH] nouveau_vieux: add AllocTextureImageBuffer implementation
...ontext *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