Christoph Egger writes: > > Hi! > > Matrox and 3DLabs will release new chipsets in August - Parhelia and P10. > Parhelia uses 10bits for each color channel (r,g,b,a). > So the 32bits the ggi_pixel has won't be sufficient any longer to support > future chipsets.
> Another suggestion is to expand ggi_pixel as described above and say, that > non ANSI C99 compatible plattforms must live with the fact to not being able > to use the new features of future chipsets. > > Is there somebody, who has better ideas? I don't know if it's better, but I think alpha value, just like Z, should be addressed via the libbuf notion of a pixel. The default ggi pixel is only concerned with color (RGB or CLUT). I know it doesn't solve the problem of the upcoming 32 bits per channel graphic adaptors, But... For now, even with 10 bit per channel we have another 2 bit left. If we want all channels together (why rgba more than rgbZ?) then we should think about defining an extended_pixel structure in libbuf, (or maybe galloc?), but not in ggi. Anyway 64 bits per pixel would be a time&space waste in 99.9% of the target/platform supported right now. Eric. --
