mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
Set TFP texture filter-quality to high (as to enable mipmaps)
This commit is contained in:
parent
312cbf3e04
commit
3991e82539
@ -1507,6 +1507,13 @@ repair_win (MutterWindow *cw)
|
||||
return;
|
||||
}
|
||||
|
||||
/* MUST call before setting pixmap or serious performance issues
|
||||
* seemingly caused by cogl_texture_set_filters() in set_filter
|
||||
* Not sure if that call is actually needed.
|
||||
*/
|
||||
clutter_texture_set_filter_quality (CLUTTER_TEXTURE (priv->actor),
|
||||
CLUTTER_TEXTURE_QUALITY_HIGH );
|
||||
|
||||
clutter_x11_texture_pixmap_set_pixmap
|
||||
(CLUTTER_X11_TEXTURE_PIXMAP (priv->actor),
|
||||
priv->back_pixmap);
|
||||
|
Loading…
Reference in New Issue
Block a user