[PATCH 23/36] randr: add initial scanout pixmap support (v2)
keithp at keithp.com
Mon Jul 2 16:51:14 PDT 2012
Dave Airlie <airlied at gmail.com> writes:
> From: Dave Airlie <airlied at redhat.com>
> 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
I'd rather store the master pixmap somewhere else; it looks like you
could stick it in the crtc pretty easily, right next to the
Otherwise, this looks good to me.
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 827 bytes
Desc: not available
More information about the xorg-devel