On Tue, Jan 21, 2003 at 06:59:02PM +0800, James Su wrote:
> Ville Syrj�l wrote:
> 
> >On Tue, Jan 21, 2003 at 06:00:45PM +0800, James Su wrote:
> >  
> >
> >>Is offscreen allocated within video memory? There is no video memory on 
> >>my StrongARM SA1100 system, can I tell DirectFB to alloc the surface 
> >>directly within the system memory?
> >>    
> >>
> >
> >Hmm. Since it only uses the software accel stuff no surfaces should end up
> >in video memory unless that is explicitly requested. Does your app use
> >DSCAPS_VIDEOONLY when creating surfaces?
> >
> >  
> >
> No, the program I used to test DirectFB is df_dok.

Ah you must be using all of the video memory for the primary surface and
the surfacemanager apparently doesn't like chunks with length = 0. This 
has one possible problem. If you use all of the memory for the primary
surface and then allocate a video-only surface they will overlap. I don't
see any problem with allowing the chunk length to become zero in this
case. I'll send a patch... 

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to