Displaying 5 results from an estimated 5 matches for "alloctextureimagebuffer".
2013 Oct 04
1
[PATCH] nouveau_vieux: add AllocTextureImageBuffer implementation
...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
2012 Jul 06
0
[PATCH] dri/nouveau: Add AllocTextureImageBuffer() implementation
...eneration.
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 renamed nouveau_teximage_free.
What I am unsure of is the code concerning swrast_texture_image and the test for early retu...
2014 Sep 14
1
[PATCH] nouveau: fix glCompressedTexImage
...py the bits in without any conversion.
>>
>
> Any reason we cannot use _mesa_store_compressed_*image for this instead
> of rolling our own?
Hmmm... no reason that I can think of off-hand -- nor do I see one for
not using the default _mesa_store_*image... Perhaps there was before
the AllocTextureImageBuffer thing existed?
>
>> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
>> ---
>>  src/mesa/drivers/dri/nouveau/nouveau_texture.c | 65 ++++++++++++++++++++------
>>  1 file changed, 52 insertions(+), 13 deletions(-)
>>
>> diff --git a/src/mesa/drivers/...
2012 Apr 25
7
[Bug 49148] New: nv20_state_fb.c:50: get_rt_format: Assertion `0' failed.
https://bugs.freedesktop.org/show_bug.cgi?id=49148
             Bug #: 49148
           Summary: nv20_state_fb.c:50: get_rt_format: Assertion `0'
                    failed.
    Classification: Unclassified
           Product: xorg
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
         
2014 Sep 13
2
[PATCH] nouveau: fix glCompressedTexImage
mesa_texstore expects pixel data, not compressed data. For compressed
textures, we want to just copy the bits in without any conversion.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
 src/mesa/drivers/dri/nouveau/nouveau_texture.c | 65 ++++++++++++++++++++------
 1 file changed, 52 insertions(+), 13 deletions(-)
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_texture.c