xserver-multidpi/randr
Dave Airlie f2da2c1204 randr: add initial scanout pixmap support (v3)
When randr notices a crtc configuration request for a slave device,
it checks if the slave allocated pixmap exists and is suitable,
if not it allocates a new shared pixmap from the master, shares
it to the slave, and starts the master tracking damage to it,
to keep it updated from the current front pixmap.

If the resize means the crtc is no longer used it will destroy
the slave pixmap.

This adds the concept of a scanout_pixmap to the randr_crtc object,
and also adds a master pixmap pointer to the pixmap object, along
with defining some pixmap helper functions for getting pixmap box/regions.

v2: split out pixmap sharing to a separate function.

v3: update for void *

Reviewed-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-07 10:37:10 +01:00
..
Makefile.am randr: add provider object and provider property support (v6) 2012-07-06 22:16:02 +01:00
randr.c randr: add provider object and provider property support (v6) 2012-07-06 22:16:02 +01:00
randrstr.h randr: add initial scanout pixmap support (v3) 2012-07-07 10:37:10 +01:00
rrcrtc.c randr: add initial scanout pixmap support (v3) 2012-07-07 10:37:10 +01:00
rrdispatch.c randr: add provider object and provider property support (v6) 2012-07-06 22:16:02 +01:00
rrinfo.c randr: Clean up compiler warnings about unused and shadowing variables 2012-06-21 18:42:46 -07:00
rrmode.c randr: Clean up compiler warnings about unused and shadowing variables 2012-06-21 18:42:46 -07:00
rroutput.c randr: Catch two more potential unset rrScrPriv uses 2012-06-28 10:06:40 -07:00
rrpointer.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
rrproperty.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
rrprovider.c dix: add ability to link output slave gpus to the current gpu (v1.1) 2012-07-07 10:37:10 +01:00
rrproviderproperty.c randr: add provider object and provider property support (v6) 2012-07-06 22:16:02 +01:00
rrscreen.c randr: Fix REQUEST vs. REQUEST_SIZE_MATCH mismatch 2012-06-29 23:34:30 -07:00
rrsdispatch.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
rrtransform.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
rrtransform.h randr: Remove redundant declaration. 2012-05-14 13:16:54 +01:00
rrxinerama.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00