1 #ifndef IOMOBILEFRAMEBUFFER_H_
2 #define IOMOBILEFRAMEBUFFER_H_
4 #include <mach/mach_types.h>
5 #include <IOKit/IOTypes.h>
6 #include <CoreSurface/CoreSurface.h>
12 typedef void *IOMobileFramebufferRef
;
14 kern_return_t
IOMobileFramebufferSwapSetLayer(
15 IOMobileFramebufferRef fb
,
17 CoreSurfaceBufferRef buffer
,
23 kern_return_t
IOMobileFramebufferGetLayerDefaultSurface(IOMobileFramebufferRef connect
, int zero
, CoreSurfaceBufferRef
*surface
);
24 kern_return_t
IOMobileFramebufferOpen(io_service_t service
, task_port_t task
, uint32_t type
, IOMobileFramebufferRef
*connect
);
30 #endif//IOMOBILEFRAMEBUFFER_H_