Re: ggi + mesa + doublebuffer

2000-04-22 Thread Jon M. Taylor
On Fri, 21 Apr 2000, [iso-8859-1] Niklas Höglund wrote: On Thu, Apr 20, 2000 at 09:02:58PM -0400, Stefan Seefeld wrote: [EMAIL PROTECTED] wrote: I can't figure out how to use db to prevent flickering. I create a visual with 2 frames, associate a ggimesa context to it. I want

Re: ggi + mesa + doublebuffer

2000-04-21 Thread Niklas Höglund
On Thu, Apr 20, 2000 at 09:02:58PM -0400, Stefan Seefeld wrote: [EMAIL PROTECTED] wrote: I can't figure out how to use db to prevent flickering. I create a visual with 2 frames, associate a ggimesa context to it. I want to render openGL and then use ggiPuts on the visual. We had

Re: ggi + mesa + doublebuffer

2000-04-21 Thread Dirk Lattermann
On Fri, Apr 21, 2000 at 03:26:38PM +0200, Niklas Höglund wrote: for(;;) { draw(); static bool first=true; glFlush(); glFinish(); ggiFlush(vis); ggiSetOrigin(vis, first ? 0 : wid,0); reshape(first ? wid : 0,0,wid,hei); glClear(GL_DEPTH_BUFFER_BIT);

Re: ggi + mesa + doublebuffer

2000-04-21 Thread soyt
Quoting Niklas Höglund [EMAIL PROTECTED]: It'd be nice if it was possible to set what part of a visual and which frame a ggimesa context draws on. I just browsed through ggimesa source. please correct me if I'm wrong. Mesa first gets a linear fb lfb[0] from ggi_visual (ggiDBGetBuffer()) and

Re: ggi + mesa + doublebuffer

2000-04-20 Thread Stefan Seefeld
[EMAIL PROTECTED] wrote: I can't figure out how to use db to prevent flickering. I create a visual with 2 frames, associate a ggimesa context to it. I want to render openGL and then use ggiPuts on the visual. We had the same trouble six months ago when we tried to set up berlin on /dev/fb