Merge pull request #10 from gunyarakun/fix-invalid-return
[cocotron.git] / QuartzCore / CALayerContext.h
blobd5f9f791c9aff3bc0d8f8b137da49d259b82b880
1 #import <Foundation/NSObject.h>
2 #import <OpenGL/OpenGL.h>
3 #import <CoreGraphics/CGGeometry.h>
5 @class CARenderer, CALayer, CGLPixelSurface, NSTimer, NSMutableArray, NSNumber;
7 @interface CALayerContext : NSObject {
8 CGRect _frame;
9 CGLPixelFormatObj _pixelFormat;
10 CGLContextObj _glContext;
11 CALayer *_layer;
12 CARenderer *_renderer;
14 NSMutableArray *_deleteTextureIds;
16 NSTimer *_timer;
19 - initWithFrame:(CGRect)rect;
21 - (void)setFrame:(CGRect)value;
22 - (void)setLayer:(CALayer *)layer;
24 - (void)invalidate;
26 - (void)render;
28 - (void)startTimerIfNeeded;
30 - (void)deleteTextureId:(NSNumber *)textureId;
32 @end