summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-04-10 08:22:02 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-04-10 09:07:38 +0100
commitbe7c166a017cee3ef8a1b7b290b7fb14b4009314 (patch)
tree28c88e828e880e25b30629dec37e7a252ddae089
parent1d2872dd0830c8858621402328aa1a9322b66ea8 (diff)
sna: Remove defunct Cursor interface on fake CRTC
As we no longer user the xf86Cursor helper, we can forgo filling in stub routines for the fake CRTC. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_display_fake.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/sna/sna_display_fake.c b/src/sna/sna_display_fake.c
index c709d99c..4728b86e 100644
--- a/src/sna/sna_display_fake.c
+++ b/src/sna/sna_display_fake.c
@@ -96,31 +96,6 @@ sna_crtc_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
}
static void
-sna_crtc_set_cursor_colors(xf86CrtcPtr crtc, int bg, int fg)
-{
-}
-
-static void
-sna_crtc_set_cursor_position(xf86CrtcPtr crtc, int x, int y)
-{
-}
-
-static void
-sna_crtc_hide_cursor(xf86CrtcPtr crtc)
-{
-}
-
-static void
-sna_crtc_show_cursor(xf86CrtcPtr crtc)
-{
-}
-
-static void
-sna_crtc_load_cursor_argb(xf86CrtcPtr crtc, CARD32 *image)
-{
-}
-
-static void
sna_crtc_gamma_set(xf86CrtcPtr crtc,
CARD16 *red, CARD16 *green, CARD16 *blue, int size)
{
@@ -142,11 +117,6 @@ sna_crtc_set_scanout_pixmap(xf86CrtcPtr crtc, PixmapPtr pixmap)
static const xf86CrtcFuncsRec sna_crtc_funcs = {
.dpms = sna_crtc_dpms,
.set_mode_major = sna_crtc_set_mode_major,
- .set_cursor_colors = sna_crtc_set_cursor_colors,
- .set_cursor_position = sna_crtc_set_cursor_position,
- .show_cursor = sna_crtc_show_cursor,
- .hide_cursor = sna_crtc_hide_cursor,
- .load_cursor_argb = sna_crtc_load_cursor_argb,
.gamma_set = sna_crtc_gamma_set,
.destroy = sna_crtc_destroy,
#if HAS_PIXMAP_SHARING