]> git.saurik.com Git - iphone-api.git/blame - IOMobileFramebuffer/IOMobileFramebuffer.h
Adding IOMobileFrameBuffer, which I forgot.
[iphone-api.git] / IOMobileFramebuffer / IOMobileFramebuffer.h
CommitLineData
ed3db7bc
JF
1#ifndef IOMOBILEFRAMEBUFFER_H_
2#define IOMOBILEFRAMEBUFFER_H_
3
4#include <mach/mach_types.h>
5#include <IOKit/IOTypes.h>
6#include <CoreSurface/CoreSurface.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef void *IOMobileFramebufferRef;
13
14kern_return_t IOMobileFramebufferSwapSetLayer(
15 IOMobileFramebufferRef fb,
16 int layer,
17 CoreSurfaceBufferRef buffer,
18 CGRect bounds,
19 CGRect frame,
20 int flags
21);
22
23kern_return_t IOMobileFramebufferGetLayerDefaultSurface(IOMobileFramebufferRef connect, int zero, CoreSurfaceBufferRef *surface);
24kern_return_t IOMobileFramebufferOpen(io_service_t service, task_port_t task, uint32_t type, IOMobileFramebufferRef *connect);
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif//IOMOBILEFRAMEBUFFER_H_