Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: I want to know when the scene drawing is completed.

  1. #1
    Guest

    I want to know when the scene drawing is completed.

    I must know when the scene drawing is completed.

    Because after the drawing is completed,

    I want to run glReadPixels.

    Does it exist the flag that can check

    whether the scene is completed ?

    Plz Help me~~~~-

  2. #2
    Guest

    Re: I want to know when the scene drawing is completed.

    I must know when the scene drawing is completed.
    Because after the drawing is completed,

    I want to run glReadPixels, rotate the model

    and redraw...Do you understand my situation?

    Does it exist the flag that can check

    whether the scene is completed ?

    Plz Help me~~~~-

  3. #3
    Guest

    Re: I want to know when the scene drawing is completed.

    call glFinish()
    this guarantees (I am pretty sure)
    that all gl calls have finished

    no flag (to my knowledge)

  4. #4
    Advanced Member Frequent Contributor
    Join Date
    Apr 2000
    Location
    Adelaide, South Australia, Australia
    Posts
    839

    Re: I want to know when the scene drawing is completed.

    glFinish() *blocks* until it's complete. hence, no need for a flag.

    cheers,
    John

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •