Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Mon, 12 Apr 1999 19:23:24 +0000

Re: Compiling Mesa 3.0 for ggi

Paul Fredrickson wrote:
> 
> I've finally got ggi working in a usable configuration and am now looking at
> Mesa.  Mesa has a driver for rendering on GGI, but it doesn't compile.
> There is a note describing a file which is supposed to update the driver for
> the latest version of GGI, but it appears to be empty.  I guess this broke
> because the GGI API has changed (did the ggi_visual struct used to have a
> "fb" framebuffer member? or a ggiGetInfo() function?  I can't find either.)

Looks like the GGI Mesa driver is really ancient. Wasn't someone working
on updating this?

> My description isn't very detailed, I know.  But how does one query the bit
> depth of a ggi_visual? Maybe I could fix it up and submit a patch for Mesa.

ggiGetPixelFormat() is used to query the pixelformat.for the ggiGet/Put*
functions. If you use DirectBuffer you'll find all the info in the
DB structure.

//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]