diff options
author | Eric Anholt <eric@anholt.net> | 2007-10-04 17:02:15 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-10-11 12:17:14 -0700 |
commit | 4ca3550fb7d488741f8dc1ba3c8722393277c3b8 (patch) | |
tree | 5c87e871275ef3b6e42be58bf44a59bda558607c /src/i830.h | |
parent | f393a12d21eed668cf4771f022beded9a4c547c7 (diff) |
Rework DRI buffer mappings and sarea setup to allow for moving buffers.
While this has been a desired feature for some time, to allow for reallocation
of the front buffer, it was made more necessary by the desire to avoid
requiring a NO_MOVE buffer type in TTM because buffer objects may not be left
pinned over VT switch. This is a step towards making those buffers
movable and resizable.
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -635,12 +635,10 @@ extern Bool I830DRIDoMappings(ScreenPtr pScreen); extern Bool I830DRIResume(ScreenPtr pScreen); extern void I830DRICloseScreen(ScreenPtr pScreen); extern Bool I830DRIFinishScreenInit(ScreenPtr pScreen); -extern Bool I830UpdateDRIBuffers(ScrnInfoPtr pScrn, drmI830Sarea *sarea); -extern void I830DRIUnmapScreenRegions(ScrnInfoPtr pScrn, drmI830Sarea *sarea); -extern Bool I830DRIMapScreenRegions(ScrnInfoPtr pScrn, drmI830Sarea *sarea); extern void I830DRIUnlock(ScrnInfoPtr pScrn); extern Bool I830DRILock(ScrnInfoPtr pScrn); extern Bool I830DRISetVBlankInterrupt (ScrnInfoPtr pScrn, Bool on); +Bool i830_update_dri_buffers(ScrnInfoPtr pScrn); #endif unsigned long intel_get_pixmap_offset(PixmapPtr pPix); |