Some priority seems to conflict with CADisplayLink updating the openGL view and the sendEvent UIApplication method. I struggled with this for a week! In my tests, I found that UIPanGestureRecognizer usually starts with every screen refresh while your finger moves. When you update GLKView (or whatever openGL context I assume), each so often the recognizer skips a few frames. If you plug in CADisplayLink to update GLKView and the pan, you can see it for yourself.
-(void)panRecCallback:(UIPanGestureRecognizer *)rec{
CGPoint loc = [panRec locationInView:self.view];
printf(" rec loc %3.3f %3.3f\n",loc.x,loc.y);
}
-(void)display:(CADisplayLink *)displayLink{
[myGLKView display];
CGPoint loc = [panRec locationInView:self.view];
printf("display loc %3.3f %3.3f\n",loc.x,loc.y);
}
, . , , , openGL , , - , . , , . hack, _ , [glkView display], , , . , , , !