Results 1 to 2 of 2

Thread: Off screen rendering buffer - PBuffer understanding

  1. #1

    Off screen rendering buffer - PBuffer understanding


    I need to understand the use of pbuffers. When I call eglCreatePbufferSurface, it would return a surface. But, I need to understand how to use the surface that will be created by the API. I am trying to find some examples, but some exaplanation on this will be good enough to start off. I am a newbie to EGL- OGLES.


  2. #2
    Senior Member
    Join Date
    May 2008

    Re: Off screen rendering buffer - PBuffer understanding

    It's like any other EGL surface in usage, you can create a context, make it current to a thread and render using any of the supported khronos APIs. Pbuffers in particular are exclusively off-screen and have no native tie ins, there completely managed by EGL. You can also use pbuffers to effectively do a render to texture since you can bind a pbuffers as textures in GLES. You can also create pbuffers which are larger then the screen which you can't do with EGL window surfaces, so you can pre-render more content. However, if available generally frame buffer objects are nicer to use for render to texture type behavior. You can also use pbuffers for benchmarking, since it allows you to take presentation out of the equation.

Similar Threads

  1. Replies: 0
    Last Post: 01-14-2009, 11:06 PM
  2. Rendering to PBuffer
    By bennyW in forum OpenGL ES
    Replies: 1
    Last Post: 09-21-2006, 08:21 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