mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
thread/impl: Set the task source priority to rather high
Tasks should have high, but not highest priority. Roughly the aim is page flip feedback > composited updates > cursor updates Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2777>
This commit is contained in:
parent
e52641c4b6
commit
c96e835d56
@ -200,6 +200,7 @@ create_impl_source (MetaThreadImpl *thread_impl)
|
|||||||
g_source_set_name (source, source_name);
|
g_source_set_name (source, source_name);
|
||||||
impl_source = (MetaThreadImplSource *) source;
|
impl_source = (MetaThreadImplSource *) source;
|
||||||
impl_source->thread_impl = thread_impl;
|
impl_source->thread_impl = thread_impl;
|
||||||
|
g_source_set_priority (source, G_PRIORITY_HIGH + 2);
|
||||||
g_source_attach (source, priv->thread_context);
|
g_source_attach (source, priv->thread_context);
|
||||||
g_source_unref (source);
|
g_source_unref (source);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user