Displaying 11 results from an estimated 11 matches for "nv04_surface_2d".
2009 Dec 05
1
[PATCH] nouveau: avoid running out of relocs (attempt 4)
- Added flush notify functions for NV30 and NV40.
- NV30 and NV40 need testing.
---
src/gallium/drivers/nouveau/nouveau_stateobj.h | 42 ++++++++++++++++++------
src/gallium/drivers/nv04/nv04_surface_2d.c | 9 +++--
src/gallium/drivers/nv30/nv30_context.c | 3 ++
src/gallium/drivers/nv30/nv30_context.h | 1 +
src/gallium/drivers/nv30/nv30_state_emit.c | 10 +++++-
src/gallium/drivers/nv40/nv40_context.c | 3 ++
src/gallium/drivers/nv40/nv40_context.h...
2009 Dec 30
0
[PATCH] Fix surface_fill alpha
...8R8G8B8 is used with GDI_RECTANGLE_TEXT, the
* alpha channel gets forced to 0xFF for some reason. We're using
* SURFACE_FORMAT_Y32 as a workaround
*/
This patch fixes it by always using SURFACE_FORMAT_Y formats in surface_fill.
diff --git a/src/gallium/drivers/nv04/nv04_surface_2d.c
b/src/gallium/drivers/nv04/nv04_surface_2d.c
index 3193086..dfe30c0 100644
--- a/src/gallium/drivers/nv04/nv04_surface_2d.c
+++ b/src/gallium/drivers/nv04/nv04_surface_2d.c
@@ -34,26 +34,6 @@ nv04_surface_format(enum pipe_format format)
}
static INLINE int
-nv04_rect_format(enum pipe_format fo...
2009 Dec 05
0
[PATCH] nouveau: avoid running out of relocs (attempt 3)
- NV30 and NV40 need testing.
- I'll take better naming suggestions for so_get_push_reloc().
---
src/gallium/drivers/nouveau/nouveau_stateobj.h | 49 +++++++++++++++++++-----
src/gallium/drivers/nv04/nv04_surface_2d.c | 9 +++-
src/gallium/drivers/nv30/nv30_state_emit.c | 26 ++++++++++++
src/gallium/drivers/nv40/nv40_state_emit.c | 30 ++++++++++++++
src/gallium/drivers/nv50/nv50_query.c | 2 +-
src/gallium/drivers/nv50/nv50_state_validate.c | 39 +++++++++++++++++++
src/galli...
2009 Dec 13
3
[PATCH] nouveau: avoid running out of relocs (attempt 5)
- Added flush notify functions for NV30 and NV40.
- NV30 and NV40 need testing (check for regressions).
---
src/gallium/drivers/nouveau/nouveau_stateobj.h | 47 +++++++++++++++++++-----
src/gallium/drivers/nv04/nv04_surface_2d.c | 9 +++--
src/gallium/drivers/nv30/nv30_context.c | 3 ++
src/gallium/drivers/nv30/nv30_context.h | 1 +
src/gallium/drivers/nv30/nv30_state_emit.c | 10 +++++-
src/gallium/drivers/nv40/nv40_context.c | 3 ++
src/gallium/drivers/nv40/nv40_context.h...
2010 Apr 12
16
[Bug 27603] New: Celestia 1.6.0 crashes with nv04_surface_copy_swizzle assertion
...tar_arb.vp
Loading ARB vertex program: shaders/multishadow_arb.vp
Loading ARB vertex program: shaders/texphong_arb.vp
Loading ARB vertex program: shaders/texphong_alpha_arb.vp
Loading ARB vertex program: shaders/ell_galaxy_arb.vp
All ARB vertex programs loaded successfully.
render path: 8
celestia: nv04_surface_2d.c:170: nv04_surface_copy_swizzle: Assertion
`!(dst->offset & 63)' failed.
Splash screen displayed perfectly then crashed out with this assertion error.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You a...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code
...um/drivers/nv04/nv04_context.h | 1 -
src/gallium/drivers/nv04/nv04_miptree.c | 155 +++++++++++++-----
src/gallium/drivers/nv04/nv04_screen.c | 9 -
src/gallium/drivers/nv04/nv04_state.h | 13 --
src/gallium/drivers/nv04/nv04_state_emit.c | 14 +-
src/gallium/drivers/nv04/nv04_surface_2d.c | 14 +-
src/gallium/drivers/nv04/nv04_surface_2d.h | 14 ++-
src/gallium/drivers/nv04/nv04_transfer.c | 37 +++--
src/gallium/drivers/nv10/Makefile | 2 -
src/gallium/drivers/nv10/nv10_context.h | 4 +-
src/gallium/drivers/nv10/nv10_miptree.c | 165 -----------------...
2010 Feb 02
2
[RFC] Merge of a reincarnation of the nouveau classic mesa driver.
...p.org/~currojerez/mesa/
configure.ac | 2 +-
src/gallium/docs/source/distro.rst | 15 -
src/gallium/drivers/nouveau/Makefile | 3 +-
src/gallium/drivers/nouveau/nouveau_winsys.h | 18 -
src/gallium/drivers/nouveau/nv04_surface_2d.c | 547 +++++++++++++
src/gallium/drivers/nouveau/nv04_surface_2d.h | 37 +
src/gallium/drivers/nv04/Makefile | 21 -
src/gallium/drivers/nv04/nv04_clear.c | 12 -
src/gallium/drivers/nv04/nv04_context.c | 112 ---
src/gallium/drivers/nv04...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code (v2)
...m/drivers/nv04/nv04_context.h | 1 -
src/gallium/drivers/nv04/nv04_miptree.c | 160 ++++++++++++++-----
src/gallium/drivers/nv04/nv04_screen.c | 9 -
src/gallium/drivers/nv04/nv04_state.h | 13 --
src/gallium/drivers/nv04/nv04_state_emit.c | 14 +-
src/gallium/drivers/nv04/nv04_surface_2d.c | 14 +-
src/gallium/drivers/nv04/nv04_surface_2d.h | 14 ++-
src/gallium/drivers/nv04/nv04_transfer.c | 37 +++--
src/gallium/drivers/nv10/Makefile | 2 -
src/gallium/drivers/nv10/nv10_context.h | 6 +-
src/gallium/drivers/nv10/nv10_fragtex.c | 2 +-
src/gallium/d...
2010 Jan 18
0
[PATCH] nv30-nv40: support unlimited queries (v2)
...ndex 5fbd998..4e8b55c 100644
--- a/src/gallium/drivers/nv30/nv30_screen.h
+++ b/src/gallium/drivers/nv30/nv30_screen.h
@@ -1,6 +1,7 @@
#ifndef __NV30_SCREEN_H__
#define __NV30_SCREEN_H__
+#include <util/u_double_list.h>
#include "nouveau/nouveau_screen.h"
#include "nv04/nv04_surface_2d.h"
@@ -20,6 +21,7 @@ struct nv30_screen {
/* Query object resources */
struct nouveau_notifier *query;
struct nouveau_resource *query_heap;
+ struct list_head query_list;
/* Vtxprog resources */
struct nouveau_resource *vp_exec_heap;
diff --git a/src/gallium/drivers/nv40/nv40_query...
2009 Dec 30
2
[PATCH] Fix glTexSubImage on swizzled surfaces on <=NV40
...o read
back the whole texture, but we aren't.
Thus, everything but the subrectangle specified is loaded as garbage.
This can be seen in progs/demos/ray.
This patch fixes the problem by creating a temporary that covers only
the desired subrectangle.
This causes us to hit an alignment assert in nv04_surface_2d.c,.
This is fixed by specifying the start of the surface as the surface
offset, and using the _POINT registers to program the (x, y)
coordinates.
This also allows us to avoid computing swizzled addresses on the CPU.
This fixes progs/demos/ray and doesn't seem to introduce problems.
Patch is f...
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