Skip to content
  • Aaron Plattner's avatar
    Add framebuffer access wrapper infrastructure. · a4005c15
    Aaron Plattner authored
    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.
    a4005c15