Hi, Matteo It seems that you haven't set the destination correctly. You can get the physical address of the destination surface from state and tell the HW engine to draw from there.
On Sat, Oct 18, 2008 at 1:31 AM, Matteo Fortini <[EMAIL PROTECTED]>wrote: > I'm trying to write an accelerated graphic driver using fbdev: > > * I implemented a FILLRECT ioctl which fills a rectangle using the > passed parameters > * I implemented the fillrect function in the graphics driver, which > basically passes the parameters to the Ioctl > > The problem is that DirectFB seems to be passing me coordinates relative > to a window's origin, and not to the screen's origin: this way, all the > rectangles that I'm drawing end up at the top left corner of the screen. > > What do I miss? > > Thanks, > Matteo > _______________________________________________ > directfb-dev mailing list > directfb-dev@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > -- Thanks, Yaowen.Feng
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev