]> git.saurik.com Git - iphone-api.git/commitdiff
Add some IOMobileFramebuffer functions long ago used by Veency.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 May 2012 05:21:53 +0000 (05:21 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 May 2012 05:21:53 +0000 (05:21 +0000)
IOMobileFramebuffer/IOMobileFramebuffer.h

index 2e0523d78d4444d2df83ad885bcde2e103212f18..b907f76ec9df754c701f96b95580803431f72414 100644 (file)
@@ -23,6 +23,9 @@ kern_return_t IOMobileFramebufferSwapSetLayer(
 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);
 
 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);
 
+void IOMobileFramebufferGetDisplaySize(IOMobileFramebufferRef connect, CGSize *size);
+void IOMobileFramebufferIsMainDisplay(IOMobileFramebufferRef connect, int *main);
+
 #ifdef __cplusplus
 }
 #endif
 #ifdef __cplusplus
 }
 #endif