cursor-renderer/native: Postpone cursor update if modeset is pending
If a modeset is pending, it's likely that the cursor update will not work; thus, wait with updating the cursor so that it's applied together with the mode set update. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488>
This commit is contained in:
@ -2102,6 +2102,12 @@ meta_renderer_native_create_dma_buf (CoglRenderer *cogl_renderer,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_renderer_native_is_mode_set_pending (MetaRendererNative *renderer_native)
|
||||
{
|
||||
return renderer_native->pending_unset_disabled_crtcs;
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_onscreen_native_is_buffer_scanout_compatible (CoglOnscreen *onscreen,
|
||||
uint32_t drm_format,
|
||||
|
Reference in New Issue
Block a user