Hi, Lionel: Thank you! I understand now.
gfxdriver implementation should be different if using the different system, e.g. devmem and fbdev. is my understanding correct? could you introduce the different points of gfxdriver implementation by the different system, e.g. devmem and fbdev briefly? or which gfxdriver codes should be refered in directfb? Thanks leon On Wed, Sep 8, 2010 at 4:35 PM, Lionel Landwerlin <llandwer...@gmail.com> wrote: > Hi Leon, > > DirectFB is splitted into several pieces. > > First there is the system, which is usually responsible for managing > the graphical memory (allocate buffers > etc...). This is where devmem, fbdev, x11 etc... are standing. > Then you have the gfxdrivers, which contains code responsible for > hardware acceleration. > > Systems do not deal directly with hardware acceleration. So you can't > talk about "how fbdev implement hw > accel", because it's not its job. However, systems have to provide > graphical buffers which match the hardware > constraints (ie. memory alignment, etc...). > In theory any drivers might be able to work on any system, but they're > almost all the most tight to a particular > system. > > So the MMIO way might be available for any system (devmem, fbdev, > etc...), it all depends on your gfxdriver. > > Regards, > > -- > Lionel Landwerlin > > On Wed, Sep 8, 2010 at 10:18 AM, Leon Zhang <linuxzh...@gmail.com> wrote: >> Hi, all: >> >> Could I know how fbdev system mode of DirectFB to implement HW accel. >> ? I know in devmem system mode, gfxdriver will config graphic hw >> registers by "mmio"(mmap /dev/mem to user space to access HW I/O) to >> implement hw acceleration. But how fbdev system mode to implememt hw >> accel.? In my understanding, "mmio" way is only available for devmem >> system mode. Is my understanding correct? >> >> Thank you >> >> >> Leon >> _______________________________________________ >> directfb-dev mailing list >> directfb-dev@directfb.org >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev >> > _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev