Results 1 to 3 of 3

Thread: what is the compatible API of a glDrawBuffer in OGLES2?

  1. #1
    Junior Member
    Join Date
    Oct 2010
    Posts
    7

    what is the compatible API of a glDrawBuffer in OGLES2?

    Hi,

    I am new to OpenGLES2.0 and I want to draw something on back buffer. Could you please let me know how I can do it in OGLES2.0.

    Thanks.

  2. #2
    Senior Member
    Join Date
    May 2008
    Posts
    104

    Re: what is the compatible API of a glDrawBuffer in OGLES2?

    By default egl window surfaces are double buffered, if you issue gl draw calls and do an eglSwapBuffers(), the contents will be rendered to your windows back buffer. However, rendering may not be complete when the eglSwapBuffers(), returns. If you want to force rendering to complete, you need to call glFinish().

    -Joel

  3. #3
    Junior Member
    Join Date
    Oct 2010
    Posts
    7

    Re: what is the compatible API of a glDrawBuffer in OGLES2?

    Thanks a lot!

Similar Threads

  1. Replies: 0
    Last Post: 01-03-2010, 08:34 AM
  2. Compatible....!!!
    By jontheway in forum OpenGL ES general technical discussions
    Replies: 0
    Last Post: 11-17-2005, 01:00 PM

Posting Permissions

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