summaryrefslogtreecommitdiff
path: root/fix-miregion
diff options
context:
space:
mode:
authoragoins <agoins@nvidia.com>2015-11-25 18:39:26 -0800
committerAdam Jackson <ajax@redhat.com>2015-12-01 13:15:01 -0500
commit7006b4e7ff759c899d5391b7d12db889cbc0b535 (patch)
treea5a6a4b1ddeb9322784d019c3c202951eac866cc /fix-miregion
parentcf5d6414e0c21140f763d618bde1e91ad2b1cb49 (diff)
randr: Factor out shared pixmap creation
The old version of rrCreateSharedPixmap(), in addition to actually creating a shared pixmap with scanout, also set up pixmap tracking on the source driver. I will be needing to create multiple shared pixmaps for PRIME double buffering, so factor the part that does shared pixmap creation into its own function, the new rrCreateSharedPixmap(). Rename the old rrCreateSharedPixmap() to rrSetupPixmapSharing(), a function that replicates the old functionality of rrCreateSharedPixmap() using the new rrCreateSharedPixmap(). Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Alex Goins <agoins@nvidia.com>
Diffstat (limited to 'fix-miregion')
0 files changed, 0 insertions, 0 deletions