Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.375 kb
#import <IOSurface/IOSurface.h>
#import <TargetConditionals.h>
#import <Foundation/Foundation.h>
#if !TARGET_IPHONE_SIMULATOR
#ifndef IOSURFACE_API_FALLBACK
#define USE_IOSURFACE
#endif
#endif
#ifdef USE_IOSURFACE
BOOL PSWSurfaceAcceleratorIsAvailable();
IOSurfaceRef PSWSurfaceCopyToMainMemory(IOSurfaceRef surface, OSType pixelFormat, NSUInteger bytesPerElement);
#endif
Jump to Line
Something went wrong with that request. Please try again.