I'm using multiple NSOpenGLViews
. All are set as the contentView
of an NSWindow
that is displayed on it's own screen. All NSOpenGLViews
call a method -(void)render:(NSOpenGLView *)sender;
declared in the class Scene
. This class draws all the vertices.
Everything works fine, but the performance is horrible : with one display, everything is fine (around 500fps). When I add a display, it's extremely slow (around 20fps).
Is it possible to speed things up?