# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/xf86-video-rendition/05-no-planemask.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- a/src/accelX.c 2026-07-12 13:26:51.914057843 +0200 +++ b/src/accelX.c @@ -187,7 +187,11 @@ /* RENDITIONSubsequentScreenToScreenCopy() derives the copy order from the coordinates and splits overlapping copies itself, so every direction is supported and XAA need not restrict itself to the two diagonal ones. */ - pXAAinfo->CopyAreaFlags=NO_TRANSPARENCY; + /* The ucode's CMD_SCREEN_BLT has no planemask operand and + RENDITIONSetupForScreenToScreenCopy() discards the one XAA hands it, so + XAA must not route masked copies here. */ + pXAAinfo->CopyAreaFlags=NO_TRANSPARENCY| + NO_PLANEMASK; pXAAinfo->SetupForScreenToScreenCopy= RENDITIONSetupForScreenToScreenCopy; pXAAinfo->SubsequentScreenToScreenCopy=