Chapter 8. OpenGL Layer
In This Chapter
• Rendering Video in a CAOpenGLLayer
• Rendering Multiple Video Channels
Using Core Animation’s OpenGL layer, CAOpenGLLayer
, you can gain more control over movie playback with everything from using Core Image filters on the video frame to compositing multiple video streams in the same context.
This chapter shows you how to render a video channel in a CAOpenGLLayer
and duplicate the functionality from QuickTime layers, as shown in Chapter 7, “QuickTime Layers.” Following that, we take a look at compositing multiple video channels in a grid layout on the CAOpenGLLayer
, similar to what you might see in a video wall. This demonstrates just how much functionality and power you have at your disposal when using ...
Get Core Animation: Simplified Animation Techniques for Mac® and iPhone® Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.