exa: rename some badly named variables

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Dave Airlie 2020-07-06 07:00:04 +10:00
parent 5188603ff7
commit 15b7738389
3 changed files with 4 additions and 4 deletions

View File

@ -694,7 +694,7 @@ typedef struct _ExaDriver {
int depth, int usage_hint, int bitsPerPixel, int depth, int usage_hint, int bitsPerPixel,
int *new_fb_pitch); int *new_fb_pitch);
/** @} */ /** @} */
Bool (*SharePixmapBacking)(PixmapPtr pPixmap, ScreenPtr slave, void **handle_p); Bool (*SharePixmapBacking)(PixmapPtr pPixmap, ScreenPtr secondary, void **handle_p);
Bool (*SetSharedPixmapBacking)(PixmapPtr pPixmap, void *handle); Bool (*SetSharedPixmapBacking)(PixmapPtr pPixmap, void *handle);

View File

@ -297,7 +297,7 @@ exaPixmapHasGpuCopy_mixed(PixmapPtr pPixmap)
} }
Bool Bool
exaSharePixmapBacking_mixed(PixmapPtr pPixmap, ScreenPtr slave, void **handle_p) exaSharePixmapBacking_mixed(PixmapPtr pPixmap, ScreenPtr secondary, void **handle_p)
{ {
ScreenPtr pScreen = pPixmap->drawable.pScreen; ScreenPtr pScreen = pPixmap->drawable.pScreen;
ExaScreenPriv(pScreen); ExaScreenPriv(pScreen);
@ -306,7 +306,7 @@ exaSharePixmapBacking_mixed(PixmapPtr pPixmap, ScreenPtr slave, void **handle_p)
exaMoveInPixmap(pPixmap); exaMoveInPixmap(pPixmap);
/* get the driver to give us a handle */ /* get the driver to give us a handle */
if (pExaScr->info->SharePixmapBacking) if (pExaScr->info->SharePixmapBacking)
ret = pExaScr->info->SharePixmapBacking(pPixmap, slave, handle_p); ret = pExaScr->info->SharePixmapBacking(pPixmap, secondary, handle_p);
return ret; return ret;
} }

View File

@ -658,7 +658,7 @@ void
Bool Bool
exaSetSharedPixmapBacking_mixed(PixmapPtr pPixmap, void *handle); exaSetSharedPixmapBacking_mixed(PixmapPtr pPixmap, void *handle);
Bool Bool
exaSharePixmapBacking_mixed(PixmapPtr pPixmap, ScreenPtr slave, void **handle_p); exaSharePixmapBacking_mixed(PixmapPtr pPixmap, ScreenPtr secondary, void **handle_p);
/* exa_render.c */ /* exa_render.c */
Bool Bool