comparison libvo/vo_macosx.h @ 25180:48fe4b6e3bab

Support double buffering, fix osd flicker.
author ulion
date Fri, 30 Nov 2007 04:20:38 +0000
parents cf3b6015735d
children 0a0f63090e60
comparison
equal deleted inserted replaced
25179:6e8b40d412f0 25180:48fe4b6e3bab
30 NSWindow *window; 30 NSWindow *window;
31 NSOpenGLContext *glContext; 31 NSOpenGLContext *glContext;
32 NSEvent *event; 32 NSEvent *event;
33 33
34 //CoreVideo 34 //CoreVideo
35 CVPixelBufferRef currentFrameBuffer; 35 CVPixelBufferRef frameBuffers[2];
36 CVOpenGLTextureCacheRef textureCache; 36 CVOpenGLTextureCacheRef textureCache;
37 CVOpenGLTextureRef texture; 37 CVOpenGLTextureRef texture;
38 NSRect textureFrame; 38 NSRect textureFrame;
39 39
40 GLfloat lowerLeft[2]; 40 GLfloat lowerLeft[2];