1 #import <Cocoa/Cocoa.h>
2 #import <VVBufferPool/VVBufferPool.h>
8 extern id _globalVVBufferCopier;
18 pthread_mutex_t renderLock;
26 + (void) createGlobalVVBufferCopierWithSharedContext:(NSOpenGLContext *)c;
41 - (void) copyBlackFrameToThisBuffer:(
VVBuffer *)b;
43 - (void) copyOpaqueBlackFrameToThisBuffer:(
VVBuffer *)b;
45 - (void) copyRedFrameToThisBuffer:(
VVBuffer *)b;
48 @property (assign,readwrite) BOOL copyToIOSurface;
51 @property (assign,readwrite) BOOL copyAndResize;
53 @property (assign,readwrite) NSSize copySize;
NSSize copySize
the "copySize" is only used if "copyAndResize" is YES
Definition: VVBufferCopier.h:22
VVBuffer represents a buffer- almost always in VRAM as a GL texture or renderbuffer- created and mana...
Definition: VVBuffer.h:134
BOOL copyToIOSurface
NO by default. if YES, will create a GL texture used to back an IOSurface (for inter-process texture ...
Definition: VVBufferCopier.h:19
Wrapper around a GL context with the intent of standardizing the more common render-to-texture operat...
Definition: GLScene.h:34
BOOL copyAndResize
NO by default. if YES, the buffer copier will resize anything passed to "copyToNewBuffer" or throw an...
Definition: VVBufferCopier.h:21
subclass of GLScene, used to copy the contents of VVBuffer instances by rendering them into a texture...
Definition: VVBufferCopier.h:17
enum _VVBufferPixFormat VVBufferPixFormat
This describes the pixel format of the GL resource represented by a VVBuffer.