From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: Any tips for using GLUT
Date: Wed, 13 Oct 1999 18:08:28 -0500 [thread overview]
Message-ID: <380510EC.5A293AC1@paralleldata.com> (raw)
In-Reply-To: 3804FBB4.53528568@uiowa.edu
"Blake L. Carlson" wrote:
>
> I've been playing with the Mesa demos and they seem to be working okay.
> I tried going to 32 bit display depth and that didn't change anything.
> 24-bit crashed my graphics adapter.
>
I looked at the GLUT spec and it also supports indexed color,
which would be your normal 8 bit display. Possibly your
using 16/32 which uses the TrueColor visual in X and you told
it you want indexed color, which is 8 bit. At one point I
messed with this because I looked at porting my own 8 bit indexed
colormap X code to true color and didn't find a simple way to
get it working. Each screen has a list of visuals it supports
and you can retrieve that list using an X call. I did see that
in 16/24/32 bit modes, there was no 8 bit visual available to
use that I could find. That was the trick I had planned on trying
with my code. If anyone knows how to do this, please let me know.
> Here's the error -
> GLUT: Fatal Error in (unamed): visual with necessary capabilities not
> found.
>
> What if my program is trying to use double-buffered display for images?
> I think I may be requesting a quality of service from Mesa/graphics
> system (??) which isn't supported. I'll try removing the double
> buffering. If that's not it, it's gotta be the colormap.
>
Since Mesa is in SW, it probably isn't using HW mode double
buffering (a guess).
Wes
next prev parent reply other threads:[~1999-10-13 23:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-13 20:23 Any tips for using GLUT Champigny, Michael
1999-10-13 21:12 ` Wes Bauske
1999-10-13 21:37 ` Blake L. Carlson
1999-10-13 23:08 ` Wes Bauske [this message]
1999-10-13 23:46 ` Blake L. Carlson
1999-10-13 22:26 ` Blake L. Carlson
-- strict thread matches above, loose matches on Subject: below --
1999-10-14 13:46 Champigny, Michael
1999-10-13 21:34 Champigny, Michael
1999-10-13 19:30 Blake Carlson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox