> > > directfb draws and blits not only on the visible screen, but on > > > off-screen surfaces too. they are somewhere in video memory, and have > > > different sizes than the visible screen. the X drivers keep some > > > registers set up for the visible screen. directfb's drivers adjust > > > these registers if the target of a drawing of blitting operation is an > > > off-screen surface. > > > > Isn't it possible to "override" these registers? > > This would require knowledge and special code in the abstraction layer > for each supported chipset.
Hmm... I guess so... Not good. Would it be possible to create a new driver (called XCompat or something) that allowed you to choose a X driver (like: xcompat:nvidia or xcompat:savage) and inside that driver have code that would do these "offscreen" things in system memory instead? If we ignore the fact that someone must write this ;) ... Is there any drawbacks of such a design (except the obvious one that it will probably be slower when you "blit" offscreen) Wouldn't this allow for fancy things like vertical blank sync, and a whole host of other nice features and a much wider support of graphicscards? /Henric -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
