Hello All, Frequent listener, first time caller. I've been working on a gfxdriver for our hardware, and would like to use its internal memory for everything, boxes, rectangles, fonts, flipping, etc.
I've managed to piece together a solution, but it consists of patches to everything that uses a layer to write on; changing the write requests with, CSAF_CPU_WRITE to CSAF_GPU_WRITE. This works fine .. but I hate patches. I could have sworn there was a small tutorial describing how to define your own layer, and, presumably, support all types and set a priority for use, eliminating requests to system type memory. My frame buffer memory is four times larger than the screen size (w*h*bpp) that I have to support, and I would really like to take advantage of our DMAC to move bytes around, while avoiding copy_to_user() whenever possible .. (I'm using fbdev, and manipulating the returned mmap() pointer). Any advice would be most excellent, bobg _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev