OpenGLES iOS 10.3 to 11.0 API Differences

EAGL.h
Declaration
Fromvoid EAGLGetVersion(unsigned int *major, unsigned int *minor)
Tovoid EAGLGetVersion(unsigned int * _Nonnull major, unsigned int * _Nonnull minor)

Declaration
From@property (nonatomic, copy) NSString *debugLabel
To@property (nonatomic, copy, nullable) NSString *debugLabel

Declaration
From- (instancetype)initWithAPI:(EAGLRenderingAPI)api
To- (nullable instancetype)initWithAPI:(EAGLRenderingAPI)api

Declaration
From- (instancetype)initWithAPI:(EAGLRenderingAPI)api sharegroup:(EAGLSharegroup *)sharegroup
To- (nullable instancetype)initWithAPI:(EAGLRenderingAPI)api sharegroup:(nonnull EAGLSharegroup *)sharegroup

Declaration
From+ (BOOL)setCurrentContext:(EAGLContext *)context
To+ (BOOL)setCurrentContext:(nullable EAGLContext *)context

Declaration
From+ (EAGLContext *)currentContext
To+ (nullable EAGLContext *)currentContext

Declaration
From@property (readonly) EAGLSharegroup *sharegroup
To@property (readonly, nonnull) EAGLSharegroup *sharegroup

Declaration
From@property (nonatomic, copy) NSString *debugLabel
To@property (nonatomic, copy, nullable) NSString *debugLabel

EAGLDrawable.h
Declaration
FromNSString *const kEAGLDrawablePropertyRetainedBacking
ToNSString *const _Nonnull kEAGLDrawablePropertyRetainedBacking

Declaration
FromNSString *const kEAGLDrawablePropertyColorFormat
ToNSString *const _Nonnull kEAGLDrawablePropertyColorFormat

Declaration
FromNSString *const kEAGLColorFormatRGBA8
ToNSString *const _Nonnull kEAGLColorFormatRGBA8

Declaration
FromNSString *const kEAGLColorFormatRGB565
ToNSString *const _Nonnull kEAGLColorFormatRGB565

Declaration
FromNSString *const kEAGLColorFormatSRGBA8
ToNSString *const _Nonnull kEAGLColorFormatSRGBA8

Declaration
From@property (copy) NSDictionary *drawableProperties
To@property (copy, nullable) NSDictionary<NSString *,id> *drawableProperties

Declaration
From- (BOOL)renderbufferStorage:(NSUInteger)target fromDrawable:(id<EAGLDrawable>)drawable
To- (BOOL)renderbufferStorage:(NSUInteger)target fromDrawable:(nullable id<EAGLDrawable>)drawable

EAGLIOSurface.h