Skip to content
  • Thomas Guillem's avatar
    opengl: add converter_cvpx · 0982d2be
    Thomas Guillem authored
    This converter can render CVPixel buffers directly by binding the IOSurface of
    the buffer to an OpenGL texture.
    
    This works only on Macos since IOSurface API is not allowed on iOS. This
    improve significantly performances when using videotoolbox.
    
    TODO: implement iOS conversion using
    CVOpenGLESTextureCacheCreateTextureFromImage().
    0982d2be