Hi all!

I have to questions, both concerning the direct buffer.

First I'd like to know how to write in a ggi_directbuffer.
How do I decide what type has to be asigned to the dbuf->write element??

In the slimy.c demo there is first the asignment 

        uint8 *fbptr;
        fbptr = dbuf->write;

and then it is writen to *fbptr.

I think I understand that for 8 bit color depth you have to use uint8. But
what if I want to use truecolor, or what if I first check what color depth
my system provides me??

And how can I asign a ggi_color or ggi_pixel element to the direct buffer?

The second question regards flushing. When I finshed writing in the
directbuffer I do a ggiFlush.

Is it possible/does improve speed to do a flushing of just a part of the
buffer? 

If yes, how can I do that?

I looked for documentation on the ggi home page but found nothing. If I
have missed some please let me know.

gr. matthias

Reply via email to