diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-08-26 17:21:43 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-08-26 17:56:40 +0200 |
commit | 7c14fdbacfcd2f4d56a346e6c72e44e4ba9909c1 (patch) | |
tree | 49865f076ea05ce5f1b1b203d7fa678d469198fc /exa/exa.h | |
parent | de79edbd9f67762950eaac2dc79668035239897c (diff) |
exa: some minor cleanup
- Fix compile warning
- Order exa.h by source file that exports the function.
- Move the function i created earlier to private headers.
Diffstat (limited to 'exa/exa.h')
-rw-r--r-- | exa/exa.h | 35 |
1 files changed, 20 insertions, 15 deletions
@@ -744,21 +744,36 @@ typedef struct _ExaDriver { /** @} */ +/* in exa.c */ ExaDriverPtr exaDriverAlloc(void); Bool -exaDriverInit(ScreenPtr pScreen, +exaDriverInit(ScreenPtr pScreen, ExaDriverPtr pScreenInfo); void -exaDriverFini(ScreenPtr pScreen); +exaDriverFini(ScreenPtr pScreen); void exaMarkSync(ScreenPtr pScreen); void exaWaitSync(ScreenPtr pScreen); +unsigned long +exaGetPixmapOffset(PixmapPtr pPix); + +unsigned long +exaGetPixmapPitch(PixmapPtr pPix); + +unsigned long +exaGetPixmapSize(PixmapPtr pPix); + +void * +exaGetPixmapDriverPrivate(PixmapPtr p); + + +/* in exa_offscreen.c */ ExaOffscreenArea * exaOffscreenAlloc(ScreenPtr pScreen, int size, int align, Bool locked, @@ -771,32 +786,22 @@ exaOffscreenFree(ScreenPtr pScreen, ExaOffscreenArea *area); void ExaOffscreenMarkUsed (PixmapPtr pPixmap); -unsigned long -exaGetPixmapOffset(PixmapPtr pPix); - -unsigned long -exaGetPixmapPitch(PixmapPtr pPix); - -unsigned long -exaGetPixmapSize(PixmapPtr pPix); - void exaEnableDisableFBAccess (int index, Bool enable); + +/* in exa_migration.c */ void exaMoveInPixmap (PixmapPtr pPixmap); void exaMoveOutPixmap (PixmapPtr pPixmap); -void * -exaGetPixmapDriverPrivate(PixmapPtr p); +/* in exa_unaccel.c */ CARD32 exaGetPixmapFirstPixel (PixmapPtr pPixmap); -Bool -exaDamageDestForMigration(PixmapPtr pPix, RegionPtr region); /** * Returns TRUE if the given planemask covers all the significant bits in the |