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: Surface-less Context

  1. #1
    Junior Member Regular Contributor
    Join Date
    Jun 2012
    Posts
    204

    Surface-less Context

    "It is possible to use a GL context without a default framebuffer, in which case a framebuffer object must be used to perform all rendering. This is useful for applications needing to perform offscreen rendering."
    Can anyone please explain how to implement this?

    It is from the http://www.khronos.org/registry/gles...ss_context.txt surface-less context, i am not able to figure out how to use GL context without default FBO.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948
    That's merely an extension which allows the default framebuffer in OpenGL ES 2.0 to be undefined. How you actually create a context with an undefined default framebuffer is up to your specific context creation system. The extension simply explains the behavior of such a context.

  3. #3
    Junior Member Regular Contributor
    Join Date
    Jun 2012
    Posts
    204
    Quote Originally Posted by Alfonse Reinheart View Post
    That's merely an extension which allows the default framebuffer in OpenGL ES 2.0 to be undefined. How you actually create a context with an undefined default framebuffer is up to your specific context creation system. The extension simply explains the behavior of such a context.
    Thanks for your reply.
    Can you please show me en example how to create context without default FBO?

  4. #4
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948
    It's not part of OpenGL ES; it's platform-dependent. So it depends on the particular platform you're using. You'll have to look it up on a per-platform basis.

Posting Permissions

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