--- gtk+-2.10.9/docs/reference/gdk-pixbuf/tmpl/scaling.sgml-orig	2007-02-14 12:06:22.546691000 +0800
+++ gtk+-2.10.9/docs/reference/gdk-pixbuf/tmpl/scaling.sgml	2007-02-14 12:07:52.697414000 +0800
@@ -24,6 +24,15 @@ Scaling pixbufs and scaling and composit
   </para>
 
   <para>
+   Scaling and compositing functions take advantage of MMX hardware
+   acceleration on systems where MMX is supported.  If gdk-pixbuf is built
+   with the Sun mediaLib library, these functions are instead accelerated
+   using mediaLib, which provides hardware acceleration on Intel, AMD,
+   and Sparc chipsets.  If desired, mediaLib support can be turned off by
+   setting the GDK_DISABLE_MEDIALIB environment variable.  
+  </para>
+
+  <para>
     The following example demonstrates handling an expose event by
     rendering the appropriate area of a source image (which is scaled
     to fit the widget) onto the widget's window.  The source image is
--- gtk+-2.10.9/docs/reference/gdk/tmpl/rgb.sgml-orig	2007-02-14 12:12:12.190760000 +0800
+++ gtk+-2.10.9/docs/reference/gdk/tmpl/rgb.sgml	2007-02-14 12:13:53.580753000 +0800
@@ -34,6 +34,13 @@ created in grayscale and direct color mo
 in cases where a "better" visual than the default is available.
 </para>
 
+<para>
+If GDK is built with the Sun mediaLib library, the GdkRGB functions are
+accelerated using mediaLib, which provides hardware acceleration on Intel,
+AMD, and Sparc chipsets.  If desired, mediaLib support can be turned off
+by setting the GDK_DISABLE_MEDIALIB environment variable.
+</para>
+
 <example>
 <title>A simple example program using GdkRGB</title>
 <programlisting>
--- gtk+-2.10.9/gdk/gdkdraw.c-orig	2007-02-14 12:15:44.287872000 +0800
+++ gtk+-2.10.9/gdk/gdkdraw.c	2007-02-14 12:17:21.357729000 +0800
@@ -730,7 +730,13 @@ gdk_draw_image (GdkDrawable *drawable,
  *
  * The clip mask of @gc is ignored, but clip rectangles and clip regions work
  * fine.
- * 
+ *
+ * If GDK is built with the Sun mediaLib library, the gdk_draw_pixbuf
+ * function is accelerated using mediaLib, which provides hardware
+ * acceleration on Intel, AMD, and Sparc chipsets.  If desired, mediaLib
+ * support can be turned off by setting the GDK_DISABLE_MEDIALIB environment
+ * variable.
+ *
  * Since: 2.2
  **/
 void
