diff options
author | Keith Packard <keithp@keithp.com> | 2009-08-25 18:35:54 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-08-25 18:37:45 -0700 |
commit | 2786a66719a6dbb735eb7c551c412475c30ffa51 (patch) | |
tree | 7298862e468a6d2f301a4056638761317fd91534 /src/i830.h | |
parent | e51126c57132492c664f86981c55b166dbb54c79 (diff) |
KMS: allocate one bo per crtc for cursor
The KMS API doesn't provide for sharing a single bo for multiple
cursor images, so allocate one bo for each crtc to hold the cursor
image. KMS also only supports ARGB cursors, so don't bother to
allocate buffers for two color cursors.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -693,6 +693,8 @@ void I830DRI2CloseScreen(ScreenPtr pScreen); extern Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp); extern int drmmode_get_pipe_from_crtc_id(drm_intel_bufmgr *bufmgr, xf86CrtcPtr crtc); extern int drmmode_output_dpms_status(xf86OutputPtr output); +void +drmmode_crtc_set_cursor_bo(xf86CrtcPtr crtc, dri_bo *cursor); extern Bool i830_crtc_on(xf86CrtcPtr crtc); extern int i830_crtc_to_pipe(xf86CrtcPtr crtc); |