> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ville Syrj�l� > Sent: Monday, August 09, 2004 2:58 PM > To: [EMAIL PROTECTED] > Subject: [directfb-dev] Re: explicit create surface into > offscreen video buffer??? > > > On Mon, Aug 09, 2004 at 02:26:38PM -0700, David C. Jedynak wrote: > > I have a 2 MB video buffer, only about 200k is used for front buffer > > (and another 200k for back buffer). > > > > I want to put a bunch of various images in the offscreen > buffer to be > > blitted quickly for screen draws. > > > > At program startup, I'm creating a surface for each image > and rendering > > to it, but it would appear that these are going into system > memory, not > > video memory since the blit functions of these images don't > work. If I > > set these "cache" surfaces to videoonly, then they end up > rendering on > > my main video area. > > That should not happen. DSCAPS_VIDEOONLY is the proper way to > do what you > want. What driver are you using? > > If you don't specify DSCAPS_VIDEOONLY / DSCAPS_SYSTEMONLY > DirectFB will > decide where to place the data. It may also swap them from > one memory pool > to the other during normal operations. All of that is completely > transparent to the application.
That explains a few things. In the past, dfb has decided to put them in the video memory, but I never knew why. I will specify the video only option. What is means is that I need to go fix my custom driver (for epson s1d13506). I'll probably be posting back to figure out what is wrong with my driver. Thanks, David
