Does lite/DFBTerm work with directfb 0.9.20?  I haven't been able to get
0.9.21 working on the geode gx1 as of yet.

On Thu, 2004-06-17 at 17:44, Ville Syrj�l� wrote:
> On Thu, Jun 17, 2004 at 05:16:42PM -0500, Brian G. Rhodes wrote:
> > On Thu, 2004-06-17 at 16:21, Ville Syrj�l� wrote:
> > > On Thu, Jun 17, 2004 at 03:58:45PM -0500, Brian G. Rhodes wrote:
> > > > Ok,
> > > > 
> > > > Here is my init...
> > > > 
> > > > DirectFBInit(0, 0);
> > > >   
> > > >   DirectFBSetOption("bg-none", NULL);
> > > >   DirectFBSetOption("no-cursor", NULL);
> > > >   DirectFBSetOption("vsync-none", NULL);
> > > > DirectFBCreate(&dfb);
> > > > 
> > > >   dfb->SetCooperativeLevel(dfb, DFSCL_FULLSCREEN);
> > > >   
> > > >   dsc.flags = DSDESC_CAPS;
> > > >   dsc.caps  = DSCAPS_PRIMARY | DSCAPS_FLIPPING;
> > > > 
> > > >   dfb->CreateSurface(dfb, &dsc, &primary_surface);
> > > >   dfb->SetVideoMode(dfb, 1024, 768, 16);
> > > > 
> > > >   primary_surface->GetSize(primary_surface, &screen_width,
> > > > &screen_height);
> > > > 
> > > > primary_surface->FillRectangle(primary_surface, 0, 0, screen_width,
> > > > screen_height);
> > > >   primary_surface->Flip(primary_surface, NULL, DSFLIP_WAITFORSYNC);
> > > > 
> > > > I wanted to make the primary surface "transparent" without doing
> > > > 
> > > > primary_surface->Release(primary_surface)
> > > 
> > > Your primary surface == the video RAM displayed on your screen. There's 
> > > nothing below it so you can't make it transparent.
> > > 
> > 
> > if I change vt and change back, I have the text from the console which
> > was there prior to doing a fill rectangle on my primary surface.
> 
> Oh right. Currently video-only surfaces aren't saved/restored correctly. 
> We'd need to allocate system RAM for them and copy the data over when the 
> vt switch occurs. Auto-video surfaces are saved/restored since they 
> already have system RAM backing.
> 
> Everything else should get restored.
> 
> > on top
> > of that I am doing video capture from sigma decoder directly to
> > framebuffer memory mapped at 0x40800000 and writes to my primary surface
> > do not write into that.
> > 
> > Is there any way currently that I can run an application in directfb
> > with a specific protocol/emulation (terminal emulator) ?
> 
> Well there's DFBTerm and then there's XDirectFB which will allow you to 
> run any X apps.



Reply via email to