Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Tue, 29 Jun 1999 21:26:54 +0000

Re: Direct Buffering was: Re: switching color depth

Garrett B wrote:
>   That brings up something else from targets.txt, it says x-lib doesn't support
> direct buffering but X does. Whats the difference between the X target and
> x-lib target?

X-target
========

Description
+++++++++++

Displays in an X window.
Emulates a linear framebuffer which is blitted to the Xserver with the
XPutImage() function. In ASYNC mode this is done when ggiFlush() is
called,
and in SYNC mode it's done periodicly in the background (typicly 20
times/s).
The MITSHM extension is used when available for maximum speed.

===========
Xlib-target
===========

Description
+++++++++++

Displays in an X window.
Uses Xlib primitives to do drawing. Faster than X-target when using
drawing-
primitives on on accelerated X-server. Blitting is slower when running
local.

> And if I use Direct Buffering in my program then thats going to
> limit the portability of my program.

No it wont. Not supporting non-DirectBuffer will though, but of course
you will support that, right? ;)

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]