mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
glamor: Add Option "ShadowPrimary" v2
When this option is enabled, most pixmaps (including the screen pixmap) are allocated in system RAM and mostly accessed by the CPU. Changed areas of the screen pixmap are copied to dedicated per-CRTC scanout pixmaps regularly, triggered by the vblank interrupt. v2: * Set region data pointer to NULL for keeping only the extents * Move pRegion and pBox local variable declarations closer to their uses in drmmode_set_mode_major()
This commit is contained in:
committed by
Michel Dänzer
parent
eea79472a8
commit
ae92d1765f
@@ -286,6 +286,22 @@ Chooses between available acceleration architectures. Valid values are
|
||||
as of TAHITI, otherwise
|
||||
.B EXA.
|
||||
|
||||
.PP
|
||||
The following driver
|
||||
.B Options
|
||||
are supported for
|
||||
.B glamor
|
||||
:
|
||||
.TP
|
||||
.BI "Option \*qShadowPrimary\*q \*q" boolean \*q
|
||||
This option enables a so-called "shadow primary" buffer for fast CPU access to
|
||||
pixel data, and separate scanout buffers for each display controller (CRTC).
|
||||
This may improve performance for some 2D workloads, potentially at the expense
|
||||
of other (e.g. 3D, video) workloads.
|
||||
Note in particular that enabling this option currently disables page flipping.
|
||||
The default is
|
||||
.B off.
|
||||
|
||||
.PP
|
||||
The following driver
|
||||
.B Options
|
||||
|
||||
Reference in New Issue
Block a user