[oe-commits] org.oe.dev gtk+: apply lower-quality-scaling on fic-gta0[12] to squeeze some more performance out of it

mickeyl commit openembedded-commits at lists.openembedded.org
Sat Aug 4 21:09:07 UTC 2007


gtk+: apply lower-quality-scaling on fic-gta0[12] to squeeze some more performance out of it

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 11c715e95589604ac68b405171b45bbbbcab517a
ViewMTN: http://monotone.openembedded.org/revision.psp?id=11c715e95589604ac68b405171b45bbbbcab517a
Files:
1
packages/gtk+/files/lower-quality-scaling-in-pixbuf-engine.patch
packages/gtk+/gtk+_2.10.14.bb
Diffs:

#
# mt diff -r63fda629f3beb590616452995380acd8b6b32516 -r11c715e95589604ac68b405171b45bbbbcab517a
#
# 
# 
# add_file "packages/gtk+/files/lower-quality-scaling-in-pixbuf-engine.patch"
#  content [9b2b5942f437637d6484f64ae700dd1c8335730b]
# 
# patch "packages/gtk+/gtk+_2.10.14.bb"
#  from [5334ae3cb851a4bd67bacc6373c37cb286d09808]
#    to [81d88b860767ea54cfcd4a8eee4be9c678e3a3ed]
# 
============================================================
--- packages/gtk+/files/lower-quality-scaling-in-pixbuf-engine.patch	9b2b5942f437637d6484f64ae700dd1c8335730b
+++ packages/gtk+/files/lower-quality-scaling-in-pixbuf-engine.patch	9b2b5942f437637d6484f64ae700dd1c8335730b
@@ -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);
+ 
============================================================
--- packages/gtk+/gtk+_2.10.14.bb	5334ae3cb851a4bd67bacc6373c37cb286d09808
+++ packages/gtk+/gtk+_2.10.14.bb	81d88b860767ea54cfcd4a8eee4be9c678e3a3ed
@@ -1,6 +1,6 @@ require gtk-2.10.inc
 require gtk-2.10.inc
 
-PR = "r1"
+PR = "r2"
 
 # disable per default - untested and not all patches included.
 DEFAULT_PREFERENCE = "-1"
@@ -31,3 +31,8 @@ EXTRA_OECONF += "${@get_gtk_fpu_setting(
 #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
 require gtk-fpu.inc
 EXTRA_OECONF += "${@get_gtk_fpu_setting(bb, d)}"
+
+# try to squeeze some more performance out of it
+SRC_URI_append_fic-gta01 = " file://lower-quality-scaling-in-pixbuf-engine.patch;patch=1"
+SRC_URI_append_fic-gta02 = " file://lower-quality-scaling-in-pixbuf-engine.patch;patch=1"
+






More information about the Openembedded-commits mailing list