From ed3db7bc65764317ce69706f79feb2a98cb104dc Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 27 Dec 2008 00:54:36 +0000 Subject: [PATCH] Adding IOMobileFrameBuffer, which I forgot. --- IOMobileFramebuffer/IOMobileFramebuffer.h | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 IOMobileFramebuffer/IOMobileFramebuffer.h diff --git a/IOMobileFramebuffer/IOMobileFramebuffer.h b/IOMobileFramebuffer/IOMobileFramebuffer.h new file mode 100644 index 0000000..2e0523d --- /dev/null +++ b/IOMobileFramebuffer/IOMobileFramebuffer.h @@ -0,0 +1,30 @@ +#ifndef IOMOBILEFRAMEBUFFER_H_ +#define IOMOBILEFRAMEBUFFER_H_ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef void *IOMobileFramebufferRef; + +kern_return_t IOMobileFramebufferSwapSetLayer( + IOMobileFramebufferRef fb, + int layer, + CoreSurfaceBufferRef buffer, + CGRect bounds, + CGRect frame, + int flags +); + +kern_return_t IOMobileFramebufferGetLayerDefaultSurface(IOMobileFramebufferRef connect, int zero, CoreSurfaceBufferRef *surface); +kern_return_t IOMobileFramebufferOpen(io_service_t service, task_port_t task, uint32_t type, IOMobileFramebufferRef *connect); + +#ifdef __cplusplus +} +#endif + +#endif//IOMOBILEFRAMEBUFFER_H_ -- 2.45.2