Pierre Cloutier wrote:

> Please explain. What is the DGA extension?

The DGA extension is an extension to X which allows direct access to the
video framebuffer.   The drawback is that you lose the ability to
manipulate widgets on the fly (ie. scrollbars don't work) unless you do
some tricks.  It is probably the fastest way to draw images under X.  Do
a 'man' on any of the following functions for a more detailed
description:

        XF86DGAQueryExtension
        XF86DGAQueryVersion
        XF86DGAQueryDirectVideo
        XF86DGAGetVideo
        XF86DGADirectVideo
        XF86DGASetVidPage
        XF86DGASetViewPort
        XF86DGAViewPortChanged
        XF86DGAGetViewPortSize
        XF86DGAInstallColormap
        XF86DGAForkApp

The next fastest method is a little more general (ie.  all your widgets
will still work and you can program in X normally) is the MIT-SHM
extension.  This uses shared memory (normal SysV IPC shared memory --
not the other variety discussed on this list) to redraw regions
quickly.  Do a 'man' on XShmPutImage to get some more information.

Outside of X, you could use SVGALib which is, probably, much faster than
anything under X.

Of course, this is not a comprehensive list of image extensions for X
(ie. imlib which works with GTK+ and the XIE server extension)

Rick
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to