mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
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:
parent
1ba3b3dd7d
commit
13badba158
@ -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 *)
|
||||
|
Loading…
Reference in New Issue
Block a user