search for: surface_fill

Displaying 5 results from an estimated 5 matches for "surface_fill".

2009 Dec 30
0
[PATCH] Fix surface_fill alpha
Currently surface_fill sets alpha incorrectly to 1.0 when drawing to A8R8G8B8 instead of the correct value. xf86-video-nouveau has the following comment confirming the issue: /* When SURFACE_FORMAT_A8R8G8B8 is used with GDI_RECTANGLE_TEXT, the * alpha channel gets forced to 0xFF for some reason. We'...
2009 Apr 08
0
[PATCH/Gallium] nv50: update nv50_clear to new interface
Commit eb168e26aa63f11a47d70c4555cae30691a2cd57 changed the way pipe->clear works so I figured I'd try to make an updated version, so below is the diff - my concerns/uncertainties should be contained in the comments. Or maybe you want to do it the way NV40 does it, just calling surface_fill through a utility function (althoug this does currently seem to only clear one color buffer) . I'll have a look at my REnouveau dumps to see if there are push buffer commands to clear buffers of the other formats, though I'll most probably fail. And I expect you probably have another/better...
2014 Jan 10
2
[PATCH] nouveau: add framebuffer validation callback
...MESA_FORMAT_XRGB8888: + case MESA_FORMAT_ARGB8888: + case MESA_FORMAT_RGB565: + return true; + default: + return false; + } +} + const struct nouveau_driver nv04_driver = { .context_create = nv04_context_create, .context_destroy = nv04_context_destroy, .surface_copy = nv04_surface_copy, .surface_fill = nv04_surface_fill, + .is_rt_format_supported = nv04_is_rt_format_supported, .emit = (nouveau_state_func[]) { nv04_defer_control, nouveau_emit_nothing, diff --git a/src/mesa/drivers/dri/nouveau/nv10_context.c b/src/mesa/drivers/dri/nouveau/nv10_context.c index 1918f12..9c5cfcb 100644 --- a...
2014 Jan 14
0
[PATCH] nouveau: add framebuffer validation callback
...from the bpp limitation) we're going to expose the same set of formats on all generations. Thanks. > const struct nouveau_driver nv04_driver = { > .context_create = nv04_context_create, > .context_destroy = nv04_context_destroy, > .surface_copy = nv04_surface_copy, > .surface_fill = nv04_surface_fill, > + .is_rt_format_supported = nv04_is_rt_format_supported, > .emit = (nouveau_state_func[]) { > nv04_defer_control, > nouveau_emit_nothing, > diff --git a/src/mesa/drivers/dri/nouveau/nv10_context.c b/src/mesa/drivers/dri/nouveau/nv10_context.c > index...
2010 Aug 06
4
nv vpe video decoder
Hello, I have my work on the nv vpe video decoder in a functional state. In case you didn't know this decoder accelerates mpeg2 video at the idct/mc level. I have verified that it works on nv40 hardware. I believe it works on nv30 hardware (and maybe some earlier hardware), but I cannot verify since I have none. I will reply with patches against the kernel, drm, ddx and mesa for