ColorWolf
03-27-2001, 11:47 PM
Hi,
I currently using openl with motif.When drawing my image,it flash hard.Is there any ideas that not direct drawing the image to the screen,but to the buffer,and then,afeter drawing,copy it to the screen?
Double buffer may do this,but how to deal with no_opengl parts of the image?Can they been drawn to the back buffer too (they are drawn by motif and xt)?
Or draw the image to a glPixmap?How to do it and how to copy it to the screen-render?
Thanks a lot.Your code is welcome.
I currently using openl with motif.When drawing my image,it flash hard.Is there any ideas that not direct drawing the image to the screen,but to the buffer,and then,afeter drawing,copy it to the screen?
Double buffer may do this,but how to deal with no_opengl parts of the image?Can they been drawn to the back buffer too (they are drawn by motif and xt)?
Or draw the image to a glPixmap?How to do it and how to copy it to the screen-render?
Thanks a lot.Your code is welcome.