Author Topic: How slow is FrameBuffer.getOutputBuffer()  (Read 1167 times)

Offline qcrist

  • byte
  • *
  • Posts: 29
    • View Profile
How slow is FrameBuffer.getOutputBuffer()
« on: September 08, 2011, 07:23:18 pm »
How slow is FrameBuffer.getOutputBuffer()?

When I used this method, I did not see any major performance changes.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12060
    • View Profile
    • http://www.jpct.net
Re: How slow is FrameBuffer.getOutputBuffer()
« Reply #1 on: September 08, 2011, 08:06:05 pm »
Depends on the renderer, the graphics hardware, the OS, the drivers...when using the software renderer, it's free. When using the hardware renderer, it isn't. But there's no fixed delay that it causes...it simply depends on a lot of things. If you can avoid it, then avoid it.

Offline qcrist

  • byte
  • *
  • Posts: 29
    • View Profile
Re: How slow is FrameBuffer.getOutputBuffer()
« Reply #2 on: September 08, 2011, 08:08:22 pm »
Ok.


How mutch faster is the ogl renderer than the software renderer?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12060
    • View Profile
    • http://www.jpct.net
Re: How slow is FrameBuffer.getOutputBuffer()
« Reply #3 on: September 08, 2011, 08:12:23 pm »
That depends on the scene and if compiled objects are being used or not. I would say something between 10 times and a 1000+ times faster.