From 8fcfd8ff216c9457d43f6dcbb652c0beef08cef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Tue, 10 Jun 2008 11:18:19 +0000 Subject: [PATCH] * clutter/clutter-texture.c: improved documentation for clutter_texture_set_filter_quality. --- ChangeLog | 5 +++++ clutter/clutter-texture.c | 16 +++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3e6be97c1..8f03399ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-10 Øyvind Kolås + + * clutter/clutter-texture.c: improved documentation for + clutter_texture_set_filter_quality. + 2008-06-10 Chris Lord Bug #916 - ClutterKeyEvent:unicode_value is ignored diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c index decb0950f..f4127ffc7 100644 --- a/clutter/clutter-texture.c +++ b/clutter/clutter-texture.c @@ -1173,14 +1173,16 @@ clutter_texture_set_from_file (ClutterTexture *texture, /** * clutter_texture_set_filter_quality * @texture: A #ClutterTexture - * @filter_quality: A filter quality value + * @filter_quality: New filter quality value * - * FIXME: THIS IS WRONG FOR NEW API - * - * Sets the filter quality when scaling a texture. Only values 0 and 1 - * are currently supported, with 0 being lower quality but fast, 1 - * being better quality but slower. ( Currently just maps to - * GL_NEAREST / GL_LINEAR ). The default is 1. + * Sets the filter quality when scaling a texture. The quality is an + * enumeration currently the following values are supported: + * CLUTTER_TEXTURE_QUALITY_LOW which is fast but only uses nearest neighbour + * interpolation. CLUTTER_TEXTURE_QUALITY_MEDIUM which is computationally a bit + * more expensive (bilinear interpolation), and CLUTTER_TEXTURE_QUALITY_HIGH + * which uses extra texture memory resources to improve scaled down rendering + * as well (it uses mipmaps). The default value is + * CLUTTER_TEXTURE_QUALITY_MEDIUM. * * Since: 0.8 */