summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-04-10 21:44:35 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-04-10 22:57:43 +0100
commit8e6e7dbc9257a223ab284198e92f263a1a8b5553 (patch)
treeef5306ab8efee8c90938a3a0d409115b9b5e1e33 /src
parentf94684db1a694820ff508d8aec77bf19cea86fbd (diff)
sna: Don't create slave pixmaps for the virtual CRTC
They only exist as placeholders for remote outputs in the framebuffer and do not need to take part in actually output offloading, so we can forgo creating slave pixmaps and remove the stub function entirely. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_display_fake.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/sna/sna_display_fake.c b/src/sna/sna_display_fake.c
index 4728b86e..8604d200 100644
--- a/src/sna/sna_display_fake.c
+++ b/src/sna/sna_display_fake.c
@@ -106,22 +106,11 @@ sna_crtc_destroy(xf86CrtcPtr crtc)
{
}
-#if HAS_PIXMAP_SHARING
-static Bool
-sna_crtc_set_scanout_pixmap(xf86CrtcPtr crtc, PixmapPtr pixmap)
-{
- return TRUE;
-}
-#endif
-
static const xf86CrtcFuncsRec sna_crtc_funcs = {
.dpms = sna_crtc_dpms,
.set_mode_major = sna_crtc_set_mode_major,
.gamma_set = sna_crtc_gamma_set,
.destroy = sna_crtc_destroy,
-#if HAS_PIXMAP_SHARING
- .set_scanout_pixmap = sna_crtc_set_scanout_pixmap,
-#endif
};
static void