Thanks
Yes, if the client can render in the frame buffer directly it will improve
the speed greatly. But why DGA provides other methods like SET MODE? I think
there may be two reasons:
1.   The client can't SET MODE through X lib
2.   The speed using DGA is faster than througn X lib(if it has).
Which is right? and maybe other answers?

-----Original Message-----
From: Mark Vojkovich [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 04, 2002 2:09 AM
To: Lawrence Lee (Shanghai)
Subject: RE: [Render] Question about DGA


On Wed, 3 Jul 2002, Lawrence Lee (Shanghai) wrote:

> Thanks 
> But how a client from another machine render the frame buffer directly? Or
> the dga is using only by the client in local host?

   It only works for local clients.  There are also security concerns
because for most (all at the moment, but in theory not all need to be
this way) operating systems because applications need to run with root
permissions in order to open /dev/mem so they can map the framebuffer.

                        Mark.
 
> 
> -----Original Message-----
> From: Mark Vojkovich [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 03, 2002 1:45 AM
> To: Lawrence Lee (Shanghai)
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: [Render] Question about DGA
> 
> 
> On Tue, 2 Jul 2002, Lawrence Lee (Shanghai) wrote:
> 
> > hi,all
> > I'm studying the Graphics Card Driver in xwindow. I'm very confused with
> > DGA(direct Graphics Architecture). Why an application needs DGA?Is DGA
> more
> > faster? Like set mode, why xfree86 provides the DGA method?
> > Thanks
> 
> 
>    DGA is an extension to allow the driver to essentially switch
> to another VT and leave the graphics hardware initialized so a
> client can render to the framebuffer directly and all by itself.
> It was intended as a sort of replacement for svgalib which was
> struggling to get hardware supported at the time, while XFree86 had
> fairly good driver coverage.  I consider it to be a legacy feature
> which is deprecated.  The existence of DGA complicates the driver
> somewhat.
> 
> 
>                         Mark.
> 
_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to