Take the 2-minute tour ×  Edit: I suppose instead of the long
explanation below I might also ask: Sending -setNeedsDisplay to
an instance of CAEAGLLayer does not cause the layer to redraw
(i.e., -drawInContext: is not called). Instead, I get this
console message:  <GLLayer: 0x4d500b0>: calling -display has no
effect.  Is there a way around this issue? Can I invoke
-drawInContext: when -setNeedsDisplay is called? Long
explanation below:  I have an OpenGL scene that I would like to
animate using Core Animation animations.  Following the standard
approach to animate custom properties in a CALayer, I created a
subclass of CAEAGLLayer and defined a property sceneCenterPoint
in it whose value should be animated. My layer also holds a
reference to the OpenGL renderer:  #import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h> #import "ES2Renderer.h"
@interface GLLayer : CAEAGLLayer     ES2Renderer *renderer;
@property (nonatomic, retain) ES2Renderer *renderer; @property
(nonatomic, assign) CGPoint sceneCenterPoint