summaryrefslogtreecommitdiff
path: root/packages/gtk+/files
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-08-04 20:45:10 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-08-04 20:45:10 +0000
commitbaf66ec7caf1661369033966002e042c6259e3d2 (patch)
tree69e96c6cc7508c772d2fcb4c1c74f094c703cc23 /packages/gtk+/files
parent7afc90c022581aa224885233ecdef590ea5b7507 (diff)
gtk+: apply lower-quality-scaling on fic-gta0[12] to squeeze some more performance out of it
Diffstat (limited to 'packages/gtk+/files')
-rw-r--r--packages/gtk+/files/lower-quality-scaling-in-pixbuf-engine.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/gtk+/files/lower-quality-scaling-in-pixbuf-engine.patch b/packages/gtk+/files/lower-quality-scaling-in-pixbuf-engine.patch
new file mode 100644
index 0000000000..6cf1c14991
--- /dev/null
+++ b/packages/gtk+/files/lower-quality-scaling-in-pixbuf-engine.patch
@@ -0,0 +1,13 @@
+Index: gtk+-2.6.10/modules/engines/pixbuf/pixbuf-render.c
+===================================================================
+--- gtk+-2.6.10.orig/modules/engines/pixbuf/pixbuf-render.c 2005-08-18 14:11:00.000000000 +0000
++++ gtk+-2.6.10/modules/engines/pixbuf/pixbuf-render.c 2007-05-24 11:16:50.000000000 +0000
+@@ -407,7 +407,7 @@
+ 0, 0, rect.width, rect.height,
+ dest_x - rect.x, dest_y - rect.y,
+ x_scale, y_scale,
+- GDK_INTERP_BILINEAR);
++ GDK_INTERP_NEAREST);
+
+ g_object_unref (partial_src);
+