From 63f0d4ed0a98830ecbe18c6e4174689111a59b68 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 3 Jun 2007 16:49:14 +1000 Subject: randr-1.2: add support for vblank on both heads Also disable vbl when 3D isn't running --- src/radeon.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/radeon.h') diff --git a/src/radeon.h b/src/radeon.h index 62faee0..750d5c6 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -735,6 +735,7 @@ typedef struct { CARD32 tv_dac_adj; + Bool want_vblank_interrupts; RADEONBIOSConnector BiosConnector[RADEON_MAX_BIOS_CONNECTOR]; Rotation rotation; @@ -899,6 +900,7 @@ extern drmBufPtr RADEONCPGetBuffer(ScrnInfoPtr pScrn); extern void RADEONCPFlushIndirect(ScrnInfoPtr pScrn, int discard); extern void RADEONCPReleaseIndirect(ScrnInfoPtr pScrn); extern int RADEONCPStop(ScrnInfoPtr pScrn, RADEONInfoPtr info); +extern Bool RADEONDRISetVBlankInterrupt(ScrnInfoPtr pScrn, Bool on); extern void RADEONHostDataParams(ScrnInfoPtr pScrn, CARD8 *dst, CARD32 pitch, int cpp, -- cgit v1.2.3