Results 1 to 3 of 3

Thread: Why are PBuffers double-buffered?

  1. #1
    Junior Member
    Join Date
    May 2008

    Why are PBuffers double-buffered?

    Just wondering why PBuffers are double-buffered?

    As far as I can tell, the use case for PBuffers are to render into them and then either:

    a) read the pixels out with glReadPixels()
    b) Copy the pbuffer to a texture with glCopyTexImage2D()
    c) Bind the pbuffer to a texture with eglBindTexImage()

    All of these functions seem to operate on the back buffer, so what's the point in having pbuffers double buffered? Seems like a waste of memory to have two buffers when you only ever use one. I don't think I've ever had to call eglSwapBuffers() on a pbuffer before?

  2. #2
    Senior Member
    Join Date
    May 2006

    Re: Why are PBuffers double-buffered?

    Pbuffers are not double-buffered. They have a back buffer but no front buffer.

    Here is another thread related to the same question:
    Georg Kolling, Imagination Technologies
    Please ask questions specific to PowerVR hardware or SDKs on the PowerVR Insider Forum |

  3. #3
    Junior Member
    Join Date
    May 2008

    Re: Why are PBuffers double-buffered?

    Yup... Didn't search hard enough.

    Good news, thanks.

Similar Threads

  1. Offscreen rendering with pbuffers in es 2.0
    By freber in forum OpenGL ES
    Replies: 2
    Last Post: 09-18-2007, 01:15 AM
  2. Tiled pbuffers and checkpointing
    By pfirmst in forum EGL
    Replies: 0
    Last Post: 03-10-2006, 09:47 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
Proudly hosted by Digital Ocean