This may sound wierd but I suppose: * mmapped regions have a certain length
Would it be possible to mmap a separate portion of the cards memory (texture?) to each process that wanted "direct access" ? For example, if we have a 320x240 window at 32bpp.. that's 300kb of memory... This would be somewhere in the cards memory, but *not* the actual framebuffer. We could rely on hardware support so that if a process tries to access memory outside of this, it'd get a page/seg fault. You could then have the driver blit/texture the various "windows" into the main framebuffer. The only downside to this approach is that it's more complex, and would probably require more driver/card logic of keeping track of these memory objects... -Lucas _______________________________________________ Open-graphics mailing list [email protected] http://lists.duskglow.com/mailman/listinfo/open-graphics List service provided by Duskglow Consulting, LLC (www.duskglow.com)
