mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
2008-11-07 Matthew Allum <mallum@linux.intel.com>
Bug 1237 - clutter_texture_set_filter_quality calls clutter_texture_[un]realize * clutter/clutter-texture.c: (clutter_texture_set_filter_quality): Call clutter_actor_[un]realize and keep visibility state
This commit is contained in:
parent
c7c5cf9bd4
commit
0d7545a541
@ -1,3 +1,11 @@
|
||||
2008-11-07 Matthew Allum <mallum@linux.intel.com>
|
||||
|
||||
Bug 1237 - clutter_texture_set_filter_quality calls
|
||||
clutter_texture_[un]realize
|
||||
|
||||
* clutter/clutter-texture.c: (clutter_texture_set_filter_quality):
|
||||
Call clutter_actor_[un]realize and keep visibility state
|
||||
|
||||
2008-11-07 Matthew Allum <mallum@linux.intel.com>
|
||||
|
||||
* clutter/clutter-actor.c:
|
||||
|
@ -1415,8 +1415,15 @@ clutter_texture_set_filter_quality (ClutterTexture *texture,
|
||||
filter_quality == CLUTTER_TEXTURE_QUALITY_HIGH) &&
|
||||
CLUTTER_ACTOR_IS_REALIZED (texture))
|
||||
{
|
||||
clutter_texture_unrealize (CLUTTER_ACTOR (texture));
|
||||
clutter_texture_realize (CLUTTER_ACTOR (texture));
|
||||
gboolean was_visible;
|
||||
|
||||
was_visible = CLUTTER_ACTOR_IS_VISIBLE (CLUTTER_ACTOR (texture));
|
||||
|
||||
clutter_actor_unrealize (CLUTTER_ACTOR (texture));
|
||||
clutter_actor_realize (CLUTTER_ACTOR (texture));
|
||||
|
||||
if (was_visible)
|
||||
clutter_actor_show (CLUTTER_ACTOR (texture));
|
||||
}
|
||||
|
||||
g_object_notify (G_OBJECT (texture), "filter-quality");
|
||||
|
Loading…
Reference in New Issue
Block a user