drop checking HAS_DIRTYTRACKING_DRAWABLE_SRC

This symbol is always set since about a decade ago - no need to support
ancient Xserver versions anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-07-29 13:30:27 +02:00
committed by Enrico Weigelt
parent f54c40bade
commit 2ae9d9addc
2 changed files with 0 additions and 9 deletions

View File

@@ -186,11 +186,7 @@ amdgpu_dirty_primary(PixmapDirtyUpdatePtr dirty)
static inline DrawablePtr
amdgpu_dirty_src_drawable(PixmapDirtyUpdatePtr dirty)
{
#ifdef HAS_DIRTYTRACKING_DRAWABLE_SRC
return dirty->src;
#else
return &dirty->src->drawable;
#endif
}
static inline Bool

View File

@@ -1819,14 +1819,9 @@ static Bool drmmode_set_scanout_pixmap(xf86CrtcPtr crtc, PixmapPtr ppix)
drmmode_crtc->prime_scanout_pixmap = ppix;
#ifdef HAS_DIRTYTRACKING_DRAWABLE_SRC
PixmapStartDirtyTracking(&ppix->drawable,
drmmode_crtc->scanout[scanout_id],
0, 0, 0, 0, RR_Rotate_0);
#else
PixmapStartDirtyTracking(ppix, drmmode_crtc->scanout[scanout_id],
0, 0, 0, 0, RR_Rotate_0);
#endif
return TRUE;
}