Results 1 to 2 of 2

Thread: A question about screen flash

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2001
    Posts
    5

    A question about screen flash

    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.

  2. #2
    Senior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    State College, PA
    Posts
    186

    Re: A question about screen flash

    By all means, use the back buffer to draw the OpenGL - I always use double buffering, even when I'm not animating. I'm not sure what you mean by the stuff drawn by motif and xt - are you talking about widgets, or actual drawing commands? If it's just widgets, then no problem - draw the GL into the back buffer and swap the buffers - it won't have any effect on the widgets. If not, draw the GL stuff, swap the buffers, then draw the Motif/Xt stuff.

    Chris

Similar Threads

  1. OpenVG and FLash
    By Nebouz in forum OpenVG
    Replies: 0
    Last Post: 11-03-2010, 12:37 PM
  2. Collada, 3ds max and Flash
    By moon21 in forum COLLADA
    Replies: 2
    Last Post: 04-17-2007, 12:27 PM
  3. MFC window Flash
    By in forum OpenGL: User Software
    Replies: 1
    Last Post: 09-14-2004, 09:36 AM
  4. The same question about screen flash
    By ColorWolf in forum OpenGL: Linux
    Replies: 0
    Last Post: 03-30-2001, 03:20 AM
  5. flash
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-15-2000, 06:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean