From a4005c15fbb48231cb958c32b2c791a2d23a135a Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Mon, 10 Jul 2006 18:58:09 -0700 Subject: Add framebuffer access wrapper infrastructure. Create fbPrepareAccess macros to call into the driver to set up the wfbReadMemory and wfbWriteWemory pointers. Call these from fbGetDrawable and fbGetStipDrawable. Add the READ and WRITE macros, which expand to simple memory accesses for fb, and calls through the function pointers for wfb. Add fbFinishAccess macro to give the driver an opportunity to clean up. Add calls to this in the appropriate places. --- fb/fbgetsp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fb/fbgetsp.c') diff --git a/fb/fbgetsp.c b/fb/fbgetsp.c index f77ea8c52..ffd8a1d7d 100644 --- a/fb/fbgetsp.c +++ b/fb/fbgetsp.c @@ -84,4 +84,6 @@ fbGetSpans(DrawablePtr pDrawable, ppt++; pwidth++; } + + fbFinishAccess (pDrawable); } -- cgit v1.2.3