// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "StandaloneRendererPrivate.h" #include "OpenGL/SlateOpenGLRenderer.h" #include "Mac/MacWindow.h" #include "Mac/MacTextInputMethodSystem.h" #include "Mac/CocoaTextView.h" #include #include void LockGLContext(NSOpenGLContext* Context); void UnlockGLContext(NSOpenGLContext* Context); @interface FSlateOpenGLLayer : NSOpenGLLayer @property (assign) NSOpenGLContext* Context; @property (assign) NSOpenGLPixelFormat* PixelFormat; @end @interface FSlateCocoaView : FCocoaTextView { @public GLuint Framebuffer; GLuint Renderbuffer; FSlateRect ViewportRect; } @property (assign) NSOpenGLContext* Context; @property (assign) NSOpenGLPixelFormat* PixelFormat; @end