Re: [Fresco-devel] OpenGL support?
Pingveno <[email protected]> Sun, 28 Nov 2004 18:48:36 -0800
| Newsgroups | gmane.comp.video.fresco.devel |
|---|---|
| Message-ID | <[email protected]> |
Nathaniel Smith wrote: >On Fri, Nov 26, 2004 at 10:37:00PM -0800, Pingveno wrote: > > >>I've been taking a look at Fresco over the last half year. It looks like >>an interesting project, albeit one moving a little slowly. However, my >>specific question has to do with hardware acceleration: Does fresco have >>support for an OpenGL library such as GLUT (as advertised on the Front >>Page of the Fresco web site)? It would been really cool if Fresco wasn't >>painfully slow. >> >> > >When you say "support for an OpenGL library", do you mean, running on >top of an accelerated GL library, or do you mean, letting clients use >accelerated GL? The former can be done, but it doesn't really make >that big a difference, Fresco's speed doesn't have a lot to do with >the speed of the underlying primitives. (Cf. X, which is extremely >fast and doesn't use GL at all for 2d operations.) > >(BTW, GLUT isn't an implementation of OpenGL, it's a utility library >written on top of OpenGL -- it just saves some work when writing code >for a pre-existing OpenGL implementation.) > >-- Nathaniel > > > I had somehow gotten the impression that SDL didn't have hardware acceleration. Just after sending my message, I looked at some SDL documentation that said that SDL *does* do openGL, which I assume == hardware acceleration. Correct me if I'm wrong. Also, wouldn't a vector drawing system work best *with* hardware acceleration, much like Mac OS X and the soon to be released Windows Longhorn? I did a second grep (this time in the source directory instead of the build directory :P ) and found some code referring to GLUT functions. According to Tobias, this code usuable due to GLUT not being thread safe (a Fresco header file comments that GLUT likes to have control of the main loop). Shouldn't the glut link then be removed from the front page, in that case? At any rate, it would great if Fresco really got moving, maybe in time to make sure Linux isn't the last to the vector graphics party. ;) -Pingveno