Results 1 to 5 of 5

Thread: How slow is glBindFramebufferEXT?

  1. #1
    Senior Member Regular Contributor
    Join Date
    Oct 2009
    Posts
    132

    How slow is glBindFramebufferEXT?

    I've been going through my source trying to find what are the slow areas and reading about how to improve them.

    If I render a simple textured cube to the screen I get about 2800fps (acccording to fraps) If before rendering I bind and then on the next line unbind an FBO I created during initialization (so the rendered result is exactly the same) I get just under 1400 fps. Is this normal?

  2. #2
    Senior Member Regular Contributor remdul's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands
    Posts
    346

    Re: How slow is glBindFramebufferEXT?

    At such high rates, even the slightest function call can affect the frame rate heavily. I would only start worrying when you see such a significant drop (percentage wise) somewhere below ~100 fps.

  3. #3
    Senior Member Regular Contributor
    Join Date
    Oct 2009
    Posts
    132

    Re: How slow is glBindFramebufferEXT?

    ok thanks!

  4. #4
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: How slow is glBindFramebufferEXT?

    Frames per seconds is not linear.

    That is why for serious benchmarking, count and compare the milliseconds per frame, instead of fps.


  5. #5
    Senior Member Regular Contributor
    Join Date
    Oct 2009
    Posts
    132

    Re: How slow is glBindFramebufferEXT?

    understood, thank you also.

Similar Threads

  1. glBindFramebufferEXT slow down framerate
    By divide in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 07-06-2010, 03:17 PM
  2. glBindFramebufferEXT leads to GL_OUT_OF_MEMORY
    By ajedwards888 in forum OpenGL: Windows
    Replies: 6
    Last Post: 07-15-2009, 03:36 AM
  3. glBindFramebufferEXT performance
    By Plow in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 03-13-2007, 10:00 AM
  4. indexed vertexarrays slow, very slow ?
    By imported_T2k in forum OpenGL: Advanced Coding
    Replies: 13
    Last Post: 02-28-2002, 05:06 PM
  5. Replies: 10
    Last Post: 04-30-2000, 01:39 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