page flipping in XFree DGA

2004-11-30 Thread Eugene Farinas
Hi again! Although I've managed to remove the tearing artifacts in our dga program, the rendering speed (fps) is slow. I'm planning to use page flipping in our code but the program hangs when we run it. This is a part of our code that do the page flipping: //change the memory

RE: DGA and tearing effects

2004-11-27 Thread Eugene Farinas
Thanks for your help guys! I've managed to remove the tearing on our DGA program but the consequence is that the rendering speed went from a max of 15 fps (w/o vsync) to 9 fps (w/ vsync). Initially, the image reading from the camera and the copying to the framebuffer was in a single thread (w/c

RE: DGA and tearing effects

2004-11-26 Thread Eugene Farinas
/~mvojkovi/, specifically texture.tar.gz. If the texture and skull demos aren't tearless, there is a bug in the DGA driver support for your card. Mark. On Thu, 25 Nov 2004, Eugene Farinas wrote: Hi guys! We're developing a DGA program that render full screen

RE: DGA and tearing effects

2004-11-26 Thread Eugene Farinas
Continuation... We didn't use OpenGL or implemented page flipping because we don't want to make big modifications on the code in such a very short time. Eugene M. FariƱas Design Engineer Eazix, Inc. BSAP, UPLB -Original Message- From: Eugene Farinas Sent: Friday, November 26, 2004 3

DGA and tearing effects

2004-11-24 Thread Eugene Farinas
Hi guys! We're developing a DGA program that render full screen at 1280x1024 16 bpp 15fps the video image read from a sony camera, but we're experiencing tearing artifacts during rendering. This is a part of the code that copies the data to the frame buffer: void