https://github.com/v002/v002-Media-Tools
The source here contains a QC plugin that implements desktop capturing using the new 10.8 CGDisplayStream API, which is IOSurface based.
I threw it in a quick Composition and loaded it into CamTwist, performance is very good, probably just as good as the old OpenGL based desktop capture.
Now if only there were a similar API for capturing single window contents...
