Set a destructor function on pixman images and call fbFinishAccess() from there, rather than directly from free_pixman_pict(). This ensures that fbFinishAccess() gets called even if pixman still has a reference to the image after free_pixman_pict(), as is the case for alphamaps. [ajax: Squash an unused variable warning in the non-wfb build] Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Arcady Goldmints-Orlov <arcadyg@nvidia.com> Reviewed-by: Søren Sandmann <ssp@redhat.com> |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| fb.h | ||
| fb24_32.c | ||
| fb24_32.h | ||
| fballpriv.c | ||
| fbarc.c | ||
| fbbits.c | ||
| fbbits.h | ||
| fbblt.c | ||
| fbbltone.c | ||
| fbcmap_mi.c | ||
| fbcopy.c | ||
| fbfill.c | ||
| fbfillrect.c | ||
| fbfillsp.c | ||
| fbgc.c | ||
| fbgetsp.c | ||
| fbglyph.c | ||
| fbimage.c | ||
| fbline.c | ||
| fboverlay.c | ||
| fboverlay.h | ||
| fbpict.c | ||
| fbpict.h | ||
| fbpixmap.c | ||
| fbpoint.c | ||
| fbpush.c | ||
| fbrop.h | ||
| fbscreen.c | ||
| fbseg.c | ||
| fbsetsp.c | ||
| fbsolid.c | ||
| fbtrap.c | ||
| fbutil.c | ||
| fbwindow.c | ||
| wfbrename.h | ||