search for: nouveau_surface

Displaying 9 results from an estimated 9 matches for "nouveau_surface".

2012 Apr 06
1
[WIP PATCH] dri/nouveau: Add S3TC support for nv20.
...mewhere so I might be able to add support to it too, but I don't have nv04, then again, I think it might not support S3TC? If I you think the patch is mostly OK, I will process your feedback, split generic and nv20 specific part and resend it. Regards Viktor src/mesa/drivers/dri/nouveau/nouveau_surface.c | 14 ++- src/mesa/drivers/dri/nouveau/nouveau_texture.c | 143 ++++++++++++++++++----- src/mesa/drivers/dri/nouveau/nouveau_util.h | 19 +++ src/mesa/drivers/dri/nouveau/nv04_surface.c | 17 +++- src/mesa/drivers/dri/nouveau/nv20_context.c | 4 + src/mesa/drivers/dri/nouveau/n...
2013 Oct 04
1
[PATCH] nouveau_vieux: add AllocTextureImageBuffer implementation
This fixes issues where get_rt_format would see a 0 format because the nouveau_surface had not been properly initialized. Fixes crash on supertuxkart startup (which still fails due to out-of-vram issues). Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/mesa/drivers/dri/nouveau/nouveau_texture.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mesa...
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 renamed nouveau_teximage_free. What I am unsure of is...
2012 Jun 11
1
[PATCH 10/21] nouveau: Add support for ARB_sampler_object
...d.xml.h" #include "nouveau_util.h" #include "nv10_driver.h" +#include "main/samplerobj.h" void nv10_emit_tex_gen(struct gl_context *ctx, int emit) @@ -159,6 +160,7 @@ nv10_emit_tex_obj(struct gl_context *ctx, int emit) struct gl_texture_object *t; struct nouveau_surface *s; struct gl_texture_image *ti; + const struct gl_sampler_object *sa; uint32_t tx_format, tx_filter, tx_enable; PUSH_RESET(push, BUFCTX_TEX(i)); @@ -172,22 +174,23 @@ nv10_emit_tex_obj(struct gl_context *ctx, int emit) t = ctx->Texture.Unit[i]._Current; s = &to_nouveau_texture(t...
2017 Jun 07
5
[Bug 101335] New: build failure: nouveau_screen.c:105:8: error: implicit declaration of function ‘nouveau_drm_new’;
...riority: medium Component: Drivers/DRI/nouveau Assignee: nouveau at lists.freedesktop.org Reporter: David.Ronis at McGill.CA QA Contact: nouveau at lists.freedesktop.org I'm trying to build the git master on an 32 bit machine. The build dies with: CC nouveau_surface.lo nouveau_screen.c: In function ‘nouveau_init_screen2’: nouveau_screen.c:105:8: error: implicit declaration of function ‘nouveau_drm_new’; did you mean ‘nouveau_bo_new’? [-Werror=implicit-function-declaration] ret = nouveau_drm_new(dri_screen->fd, &screen->drm); ^~~~~~~~~~~~~~~...
2010 Feb 02
2
[RFC] Merge of a reincarnation of the nouveau classic mesa driver.
...+++++++ src/mesa/drivers/dri/nouveau/nouveau_screen.h | 54 ++ src/mesa/drivers/dri/nouveau/nouveau_span.c | 174 ++++ src/mesa/drivers/dri/nouveau/nouveau_state.c | 532 +++++++++++++ src/mesa/drivers/dri/nouveau/nouveau_state.h | 119 +++ src/mesa/drivers/dri/nouveau/nouveau_surface.c | 81 ++ src/mesa/drivers/dri/nouveau/nouveau_surface.h | 58 ++ src/mesa/drivers/dri/nouveau/nouveau_swtnl_t.c | 354 ++++++++ src/mesa/drivers/dri/nouveau/nouveau_texture.c | 456 +++++++++++ src/mesa/drivers/dri/nouveau/nouveau_texture.h | 49 ++ src/mesa/drivers/dr...
2014 Jan 10
2
[PATCH] nouveau: add framebuffer validation callback
...diff --git a/src/mesa/drivers/dri/nouveau/nouveau_driver.h b/src/mesa/drivers/dri/nouveau/nouveau_driver.h index e03b2c1..84953da 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_driver.h +++ b/src/mesa/drivers/dri/nouveau/nouveau_driver.h @@ -60,6 +60,7 @@ struct nouveau_driver { struct nouveau_surface *dst, unsigned mask, unsigned value, int dx, int dy, int w, int h); + bool (*is_rt_format_supported)(gl_format format); nouveau_state_func *emit; int num_emit; diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c index 25543e4....
2014 Jan 14
0
[PATCH] nouveau: add framebuffer validation callback
...ivers/dri/nouveau/nouveau_driver.h b/src/mesa/drivers/dri/nouveau/nouveau_driver.h > index e03b2c1..84953da 100644 > --- a/src/mesa/drivers/dri/nouveau/nouveau_driver.h > +++ b/src/mesa/drivers/dri/nouveau/nouveau_driver.h > @@ -60,6 +60,7 @@ struct nouveau_driver { > struct nouveau_surface *dst, > unsigned mask, unsigned value, > int dx, int dy, int w, int h); > + bool (*is_rt_format_supported)(gl_format format); > > nouveau_state_func *emit; > int num_emit; > diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c b/src/mesa/drivers/dri/n...
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