Add support for accessing IOSurfaces