rpms/xorg-x11-drv-nouveau/devel nouveau-bicubic-2x.patch,NONE,1.1
Ben Skeggs
bskeggs at fedoraproject.org
Mon Jul 6 00:13:24 UTC 2009
- Previous message (by thread): rpms/xorg-x11-drv-nouveau/devel .cvsignore, 1.34, 1.35 nouveau-fb-resize.patch, 1.2, 1.3 nouveau-multiple-xserver.patch, 1.3, 1.4 nouveau-nv50-fb-accel.patch, 1.3, 1.4 nouveau-store-vbios.patch, 1.3, 1.4 nouveau-transition-hack.patch, 1.3, 1.4 sources, 1.35, 1.36 xorg-x11-drv-nouveau.spec, 1.41, 1.42
- Next message (by thread): rpms/xorg-x11-drv-synaptics/F-11 .cvsignore, 1.13, 1.14 sources, 1.13, 1.14 xorg-x11-drv-synaptics.spec, 1.32, 1.33 synaptics-1.1.0-allocate-timer-early.patch, 1.1, NONE synaptics-1.1.0-edges.patch, 1.1, NONE synaptics-1.1.0-nograb-fail.patch, 1.2, NONE synaptics-1.1.0-synclient-64.patch, 1.1, NONE synaptics-1.1.0-synclient-accel-max.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: bskeggs
Update of /cvs/pkgs/rpms/xorg-x11-drv-nouveau/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28734
Added Files:
nouveau-bicubic-2x.patch
Log Message:
forgotten patch
nouveau-bicubic-2x.patch:
--- NEW FILE nouveau-bicubic-2x.patch ---
>From 4b61a6276ea839ba3419367d2d9a96fd1deb3c73 Mon Sep 17 00:00:00 2001
From: Ben Skeggs <skeggsb at beleth.localdomain>
Date: Mon, 4 May 2009 17:04:34 +1000
Subject: [PATCH 5/5] xv: only use bicubic filtering when scaling >=2x
---
src/nv30_xv_tex.c | 2 +-
src/nv40_xv_tex.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nv30_xv_tex.c b/src/nv30_xv_tex.c
index 96796fa..adb9010 100644
--- a/src/nv30_xv_tex.c
+++ b/src/nv30_xv_tex.c
@@ -324,7 +324,7 @@ NV30PutTextureImage(ScrnInfoPtr pScrn, struct nouveau_bo *src, int src_offset,
BEGIN_RING(chan, rankine, NV34TCL_TX_ENABLE(3), 1);
OUT_RING (chan, 0x0);
- if (pPriv->bicubic)
+ if (pPriv->bicubic && (drw_w / 2 >= src_w) && (drw_h / 2 >= src_h))
NV30_LoadFragProg(pScrn, &nv30_fp_yv12_bicubic);
else
NV30_LoadFragProg(pScrn, &nv30_fp_yv12_bilinear);
diff --git a/src/nv40_xv_tex.c b/src/nv40_xv_tex.c
index 46a7c3d..417dfb7 100644
--- a/src/nv40_xv_tex.c
+++ b/src/nv40_xv_tex.c
@@ -300,7 +300,7 @@ NV40PutTextureImage(ScrnInfoPtr pScrn,
NV40VideoTexture(pScrn, src, src_offset2, src_w/2, src_h/2, src_pitch, 2);
NV40_LoadVtxProg(pScrn, &nv40_vp_video);
- if (pPriv->bicubic)
+ if (pPriv->bicubic && (drw_w / 2 >= src_w) && (drw_h / 2 >= src_h))
NV40_LoadFragProg(pScrn, &nv40_fp_yv12_bicubic);
else
NV40_LoadFragProg(pScrn, &nv30_fp_yv12_bilinear);
--
1.6.2.5
- Previous message (by thread): rpms/xorg-x11-drv-nouveau/devel .cvsignore, 1.34, 1.35 nouveau-fb-resize.patch, 1.2, 1.3 nouveau-multiple-xserver.patch, 1.3, 1.4 nouveau-nv50-fb-accel.patch, 1.3, 1.4 nouveau-store-vbios.patch, 1.3, 1.4 nouveau-transition-hack.patch, 1.3, 1.4 sources, 1.35, 1.36 xorg-x11-drv-nouveau.spec, 1.41, 1.42
- Next message (by thread): rpms/xorg-x11-drv-synaptics/F-11 .cvsignore, 1.13, 1.14 sources, 1.13, 1.14 xorg-x11-drv-synaptics.spec, 1.32, 1.33 synaptics-1.1.0-allocate-timer-early.patch, 1.1, NONE synaptics-1.1.0-edges.patch, 1.1, NONE synaptics-1.1.0-nograb-fail.patch, 1.2, NONE synaptics-1.1.0-synclient-64.patch, 1.1, NONE synaptics-1.1.0-synclient-accel-max.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list