kms/plane: Rename META_KMS_ASSIGN_PLANE_FLAG_DIRECT_SCANOUT
To META_KMS_ASSIGN_PLANE_FLAG_DISABLE_IMPLICIT_SYNC. This describes the effect of the flag, instead of the circumstances it's currently used for. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3958>
This commit is contained in:
parent
a589456209
commit
452e4fbf70
3 changed files with 4 additions and 4 deletions
|
@ -643,7 +643,7 @@ process_plane_assignment (MetaKmsImplDevice *impl_device,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if (plane_assignment->flags & META_KMS_ASSIGN_PLANE_FLAG_DIRECT_SCANOUT)
|
||||
if (plane_assignment->flags & META_KMS_ASSIGN_PLANE_FLAG_DISABLE_IMPLICIT_SYNC)
|
||||
{
|
||||
int signaled_sync_file;
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ typedef enum _MetaKmsAssignPlaneFlag
|
|||
META_KMS_ASSIGN_PLANE_FLAG_NONE = 0,
|
||||
META_KMS_ASSIGN_PLANE_FLAG_FB_UNCHANGED = 1 << 0,
|
||||
META_KMS_ASSIGN_PLANE_FLAG_ALLOW_FAIL = 1 << 1,
|
||||
META_KMS_ASSIGN_PLANE_FLAG_DIRECT_SCANOUT = 1 << 2,
|
||||
META_KMS_ASSIGN_PLANE_FLAG_DISABLE_IMPLICIT_SYNC = 1 << 2,
|
||||
} MetaKmsAssignPlaneFlag;
|
||||
|
||||
struct _MetaKmsPageFlipListenerVtable
|
||||
|
|
|
@ -1539,7 +1539,7 @@ meta_onscreen_native_is_buffer_scanout_compatible (CoglOnscreen *onscreen,
|
|||
assign_primary_plane (crtc_kms,
|
||||
buffer,
|
||||
test_update,
|
||||
META_KMS_ASSIGN_PLANE_FLAG_DIRECT_SCANOUT,
|
||||
META_KMS_ASSIGN_PLANE_FLAG_DISABLE_IMPLICIT_SYNC,
|
||||
&src_rect,
|
||||
&dst_rect);
|
||||
|
||||
|
@ -1674,7 +1674,7 @@ meta_onscreen_native_direct_scanout (CoglOnscreen *onscreen,
|
|||
onscreen_native->view,
|
||||
onscreen_native->crtc,
|
||||
kms_update,
|
||||
META_KMS_ASSIGN_PLANE_FLAG_DIRECT_SCANOUT,
|
||||
META_KMS_ASSIGN_PLANE_FLAG_DISABLE_IMPLICIT_SYNC,
|
||||
NULL,
|
||||
0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue