mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-01 03:03:58 +00:00
EXA: Only record damage generated by rendering operations.
Recording damage from other operations (e.g. creating a client damage record) may confuse the migration code resulting in corruption. Option "EXAOptimizeMigration" appears safe now, so enable it by default. Also remove it from the manpage, as it should only be necessary on request in the course of bug report diagnostics anymore.
This commit is contained in:
parent
f6d61d3d86
commit
29586101dc
7 changed files with 32 additions and 11 deletions
|
|
@ -31,12 +31,6 @@ Disables acceleration of downloading of pixmap data from the framebuffer.
|
|||
Not usable with drivers which rely on DownloadFromScreen succeeding.
|
||||
Default: No.
|
||||
.TP
|
||||
.BI "Option \*qEXAOptimizeMigration\*q \*q" boolean \*q
|
||||
Enables an additional optimization for migration of destination pixmaps. This
|
||||
may improve performance in some cases (e.g. when switching virtual desktops with
|
||||
no compositing manager) but causes corruption in others (e.g. when starting
|
||||
compiz). Default: No.
|
||||
.TP
|
||||
.BI "Option \*qMigrationHeuristic\*q \*q" anystr \*q
|
||||
Chooses an alternate pixmap migration heuristic, for debugging purposes. The
|
||||
default is intended to be the best performing one for general use, though others
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ exaDDXDriverInit(ScreenPtr pScreen)
|
|||
pExaScr->optimize_migration =
|
||||
xf86ReturnOptValBool(pScreenPriv->options,
|
||||
EXAOPT_OPTIMIZE_MIGRATION,
|
||||
FALSE);
|
||||
TRUE);
|
||||
}
|
||||
|
||||
if (xf86ReturnOptValBool(pScreenPriv->options,
|
||||
|
|
|
|||
Loading…
Reference in a new issue