Skip to content

Commit 4737d8c

Browse files
committed
Changes for IOSurface.
1 parent 8090f29 commit 4737d8c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

QuartzCore/QuartzCore-Structs.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <CoreGraphics/CoreGraphics.h>
99
#include <QuartzCore/QuartzCore.h>
1010
#include <pthread.h>
11+
#include <IOSurface/IOSurface.h>
1112

1213
typedef struct {
1314
int x;
@@ -181,8 +182,6 @@ typedef struct x_list_struct x_list_struct;
181182

182183
typedef struct _CAImageQueue* CAImageQueueRef;
183184

184-
typedef struct __IOSurface* IOSurfaceRef;
185-
186185
@class CAEAGLLayer;
187186
typedef struct _CAEAGLNativeWindow {
188187
EAGLNativeWindowObject _field1;

UIKit/UIWindow2.h

+7-6
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,18 @@
77
#import <UIKit/UIWindow.h>
88
#import <UIKit/UIView.h>
99
#import <Availability2.h>
10+
#import <IOSurface/IOSurface.h>
1011

1112
@class NSUndoManager;
1213

1314
@interface UIWindow ()
1415
+(CGRect)constrainFrameToScreen:(CGRect)screen;
1516
+(id)keyWindow;
1617
+(void)_noteStatusBarHeightChanged:(float)changed oldHeight:(float)height fence:(int)fence;
17-
+(id)_ioSurfacePropertyDictionaryForRect:(CGRect)rect;
18-
+(void*)createIOSurfaceWithContextId:(unsigned)contextId frame:(CGRect)frame;
19-
+(void*)createIOSurfaceWithContextIds:(const unsigned*)contextIds count:(unsigned)count frame:(CGRect)frame;
20-
+(void*)createScreenIOSurface;
18+
+(CFDictionaryRef)_ioSurfacePropertyDictionaryForRect:(CGRect)rect;
19+
+(IOSurfaceRef)createIOSurfaceWithContextId:(unsigned)contextId frame:(CGRect)frame;
20+
+(IOSurfaceRef)createIOSurfaceWithContextIds:(const unsigned*)contextIds count:(size_t)count frame:(CGRect)frame;
21+
+(IOSurfaceRef)createScreenIOSurface;
2122
-(id)initWithFrame:(CGRect)frame;
2223
-(id)initWithFrame:(CGRect)frame output:(int)anOutput;
2324
-(void)_commonInit;
@@ -122,8 +123,8 @@
122123
-(void)_setMouseEnteredView:(id)view;
123124
-(BOOL)_clearMouseView;
124125
-(BOOL)_allowsContextHosting;
125-
-(void*)createIOSurfaceWithFrame:(CGRect)frame;
126-
-(void*)createIOSurface;
126+
-(IOSurfaceRef)createIOSurfaceWithFrame:(CGRect)frame;
127+
-(IOSurfaceRef)createIOSurface;
127128
-(void)_setCancelScroller:(BOOL)scroller;
128129
-(BOOL)acceptsGlobalPoint:(CGPoint)point;
129130
-(BOOL)_isLayerHidden;

0 commit comments

Comments
 (0)