All, I have a problem writing a new DFB1.2 gfxdriver for the NXP8XXX I am working on. I have a current 1.0 driver but I am not happy with just porting it and decided a rewrite would be good. I have based my rewrite on the davinci gfxdriver that Dennis has written (will eventually be fed back if I can get it working :-).
It all seems to be working quite well. except for video layers. Most people who do PC based stuff use real memory for Video Layers. However I have no memory for video layers, I need some way to have virtual surfaces (we use HW streaming). The layers would have a size, pixel format etc because apps benefit from knowing this but they have no memory associated. i.e in Davinci driver Video Lock there is the following: int index = alloc->offset / alloc->size; int height = alloc->size / alloc->pitch; alloc->pitch = ddev->fix[VID1].line_length; alloc->size = height * alloc->pitch; alloc->offset = index * alloc->size; allocation->size = alloc->size; allocation->offset = alloc->offset; lock->pitch = alloc->pitch; lock->offset = alloc->offset; lock->addr = local->mem + alloc->offset; lock->phys = local->phys + alloc->offset; However I have no addr, no phys memory etc and I need to fill in the values of DirectFB goes wrong internally. Any idea of where to start? Cheers Daniel Laird _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev