Adds a clear warning when GLX TFP is not being used

Since this is the most common cause of performance issues, this makes it
clearer when GLX TFP isn't being used. Note, there was a corresponding
fix to clutter_glx_texture_pixmap_using_extension() committed last week
as r3559 in the 0.8 branch.
This commit is contained in:
Robert Bragg 2008-12-08 12:39:37 +00:00
parent 1ba3b3dd7d
commit 13badba158

View File

@ -347,6 +347,11 @@ mutter_window_constructed (GObject *object)
}
priv->actor = mutter_shaped_texture_new ();
if (!clutter_glx_texture_pixmap_using_extension (
CLUTTER_GLX_TEXTURE_PIXMAP (priv->actor)))
g_warning ("NOTE: Not using GLX TFP!\n");
clutter_container_add_actor (CLUTTER_CONTAINER (self), priv->actor);
update_shape ((Mutter *)