FMLiveSwitchCocoaOpenGLView Class Reference

Instance Methods

(FMLiveSwitchLayoutScale) - scale
 
(instancetype) - init
 
(instancetype) - initWithFrame:
 
(instancetype) - initWithFrame:scale:
 
(instancetype) - initWithScale:
 

Class Methods

(instancetype) + openGLView
 
(instancetype) + openGLViewWithFrame:
 
(instancetype) + openGLViewWithFrame:scale:
 
(instancetype) + openGLViewWithScale:
 

Protected Attributes

GLKView * _glkView
 
FMLiveSwitchLayoutScale _scale
 
NSObject_lock
 
CVPixelBufferPoolRef _pixelBufferPool
 
CVPixelBufferRef _pixelBuffer
 
size_t _pixelBufferWidth
 
size_t _pixelBufferHeight
 
size_t _pixelBufferStride
 
size_t _pixelBufferYLength
 
size_t _pixelBufferUVLength
 
GLuint _program
 
GLuint _texcoordVBO
 
GLuint _positionVBO
 
GLuint _indexVBO
 
CVOpenGLESTextureRef _lumaTexture
 
CVOpenGLESTextureRef _chromaTexture
 
CVOpenGLESTextureCacheRef _videoTextureCache
 
NSObject_textureLock
 
volatile bool _buffersInitialized
 
int _bufferWidth
 
int _bufferHeight
 
GLint _uniforms [2]
 
volatile bool _reconfigureBuffers
 
volatile bool _drawing
 
volatile bool _rendering
 
volatile bool _initialized
 
volatile bool _renderRequested
 
volatile bool _isBackground
 

Method Documentation

◆ init

- (instancetype) init

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect)  frame

◆ initWithFrame:scale:

- (instancetype) initWithFrame: (CGRect)  frame
scale: (FMLiveSwitchLayoutScale)  scale 

◆ initWithScale:

- (instancetype) initWithScale: (FMLiveSwitchLayoutScale)  scale

◆ openGLView

+ (instancetype) openGLView

◆ openGLViewWithFrame:

+ (instancetype) openGLViewWithFrame: (CGRect)  frame

◆ openGLViewWithFrame:scale:

+ (instancetype) openGLViewWithFrame: (CGRect)  frame
scale: (FMLiveSwitchLayoutScale)  scale 

◆ openGLViewWithScale:

+ (instancetype) openGLViewWithScale: (FMLiveSwitchLayoutScale)  scale

◆ scale

- (FMLiveSwitchLayoutScale) scale

Member Data Documentation

◆ _bufferHeight

- (int) _bufferHeight
protected

◆ _buffersInitialized

- (volatile bool) _buffersInitialized
protected

◆ _bufferWidth

- (int) _bufferWidth
protected

◆ _chromaTexture

- (CVOpenGLESTextureRef) _chromaTexture
protected

◆ _drawing

- (volatile bool) _drawing
protected

◆ _glkView

- (GLKView*) _glkView
protected

◆ _indexVBO

- (GLuint) _indexVBO
protected

◆ _initialized

- (volatile bool) _initialized
protected

◆ _isBackground

- (volatile bool) _isBackground
protected

◆ _lock

- (NSObject*) _lock
protected

◆ _lumaTexture

- (CVOpenGLESTextureRef) _lumaTexture
protected

◆ _pixelBuffer

- (CVPixelBufferRef) _pixelBuffer
protected

◆ _pixelBufferHeight

- (size_t) _pixelBufferHeight
protected

◆ _pixelBufferPool

- (CVPixelBufferPoolRef) _pixelBufferPool
protected

◆ _pixelBufferStride

- (size_t) _pixelBufferStride
protected

◆ _pixelBufferUVLength

- (size_t) _pixelBufferUVLength
protected

◆ _pixelBufferWidth

- (size_t) _pixelBufferWidth
protected

◆ _pixelBufferYLength

- (size_t) _pixelBufferYLength
protected

◆ _positionVBO

- (GLuint) _positionVBO
protected

◆ _program

- (GLuint) _program
protected

◆ _reconfigureBuffers

- (volatile bool) _reconfigureBuffers
protected

◆ _rendering

- (volatile bool) _rendering
protected

◆ _renderRequested

- (volatile bool) _renderRequested
protected

◆ _scale

- (FMLiveSwitchLayoutScale) _scale
protected

◆ _texcoordVBO

- (GLuint) _texcoordVBO
protected

◆ _textureLock

- (NSObject*) _textureLock
protected

◆ _uniforms

- (GLint _uniforms[2])
protected

◆ _videoTextureCache

- (CVOpenGLESTextureCacheRef) _videoTextureCache
protected