UnstableChanges

Summary

  1. Bug 1066: Reduce glGetError() in FBObject / GLFBODrawableImpl (details)
  2. Bug 1066: Reduce glGetError() in GLDrawableHelper.reshape(.., (details)
Commit 7749f0567fb592ee4b3f698bd2424a5687b02f47 by Sven Gothel
Bug 1066: Reduce glGetError() in FBObject / GLFBODrawableImpl

- GLFBODrawableImpl
  - cache getMaxRenderbufferSamples() result from initialize call,
    method checks glGetError()

- FBObject
  - init(..): Remove one redundant checkPreGLError()

  - Allow reset(..) / modify-attachment-operations w/o glGetError():
    - Only check error if DEBUG || GLContext.DEBUG_GL:
      - RenderAttachment.initialize()
      - TexureAttachment.initialize()
      - syncSamplingSink(gl)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/FBObject.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLFBODrawableImpl.java (diff)
Commit 4d736527930511cabf2c6604aa831544da917198 by Sven Gothel
Bug 1066: Reduce glGetError() in GLDrawableHelper.reshape(.., setViewport==true)

Only check error if DEBUG || GLContext.DEBUG_GL in GLDrawableHelper.reshape(.., setViewport==true)
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLDrawableHelper.java (diff)