Wednesday, 15 April 2015

c++ - Lifecycle of an OpenGLAppComponent in Juce -


I do not understand how these openglapse compounds come and go. If someone is wrong then can someone correct my thinking?

  1. The object is created which is contained with OpenGLAppComponents and Timer. The object is present in the audio processor editor.
  2. Call initialization () (this is where we are attached to an open glocontax? A timer starts.)
  3. AddMakeVisible (& my_gl_appcomponent); The editor is told, stating that it will be drawn.
  4. my_gl_appcomponent.setBounds (...) is said to specify the size and location of the GL component.
  5. Timer
  6. When the editor is closed, we call shutdown (), where we separate from OpenGlocontex.
  7. Close my_gl_component, call shutdown OpenGL () in District
  8. We are free to reopen the editor, goto 2

Am I missing anything? Do I have extra things? I am trying to find the cause of this GL_INVALID_FRAMEBUFFER_OPERATION error for the second day in a row and I am very disappointed.


No comments:

Post a Comment