¡@

Home 

2014/10/15 ¤U¤È 10:13:40

iphone Programming Glossary: screensurface

IOSurfaces - Artefacts in video and unable to grab video surfaces

http://stackoverflow.com/questions/14135215/iosurfaces-artefacts-in-video-and-unable-to-grab-video-surfaces

in the background . for int i 0 i 100 i IOMobileFramebufferConnection connect kern_return_t result IOSurfaceRef screenSurface NULL io_service_t framebufferService IOServiceGetMatchingService kIOMasterPortDefault IOServiceMatching AppleH1CLCD if framebufferService.. framebufferService mach_task_self 0 connect result IOMobileFramebufferGetLayerDefaultSurface connect 0 screenSurface uint32_t aseed IOSurfaceLock screenSurface kIOSurfaceLockReadOnly aseed uint32_t width IOSurfaceGetWidth screenSurface uint32_t.. 0 connect result IOMobileFramebufferGetLayerDefaultSurface connect 0 screenSurface uint32_t aseed IOSurfaceLock screenSurface kIOSurfaceLockReadOnly aseed uint32_t width IOSurfaceGetWidth screenSurface uint32_t height IOSurfaceGetHeight screenSurface..