Index:
[thread]
[date]
[subject]
[author]
From: Andrew Apted <ajapted@netspace.net.au>
To : ggi-develop@eskimo.com
Date: Wed, 12 Aug 1998 23:43:56 +1000
Re: Graph types...
Johan Karlberg writes:
> we define a couple of graphtypes, but for exampl GT_16BIT, what IS 16 bit?
> is it a 5-5-5-1 (XGA) mode, a 5-6-5 (TARGA) mode, or even a 6-6-5 RGB
> mode?
It depends on the hardware. The mode could be RGB 5:6:5 or 6:6:4 or
5:7:4, with or without byte swapping (e.g. little endian card in a big
endian machine). Once you set the mode, you can query the format with
the ggiGetPixelFormat() function or via the DirectBuffer interface.
Cheers,
_____________________________________________ ____
\ /
Andrew Apted <andrew@ggi-project.org> \/
Index:
[thread]
[date]
[subject]
[author]