The NSOpenGLView class has a read/write property openGLContext, and as I read the documentation, the getter should never return nil: If the receiv ...
The NSOpenGLView class has a read/write property openGLContext, and as I read the documentation, the getter should never return nil: If the receiv ...
If you create an NSView and a custom NSOpenGLContext on macOS Mojave, the window is not being rendered to until it is being resized. But everything wo ...
I am trying to use a layer-backed NSOpenGLView (wantsLayer = YES) and have noticed a performance issue when running the application on a secondary dis ...
I'm translating the Objective-C code in this repo into Swift, in order to learn some of the basics of OpenGL. I'm totally new to it. I've got a workin ...
I've been trying to get the NSOpenGLView to resize correctly when resizing the window, but I keep getting weird behaviour which I cannot explain. It l ...
I'm trying to integrate the GCController framework into my project. I'm not so familiar with Objective-C, so please excuse my ignorance around how thi ...
I'm really tearing my head out on this one! I'm subclassing NSOpenGLView to do some animations on the view. When i say animations, i mean that am mov ...
Apparently I'm the only one to attempt this, as none of my Google searches turned up anything helpful. Assume I'm initializing an attribute array like ...
I'm working on an OS X app in a multi-GPU setup (Mac Pro late-2013) that uses OpenCL (on the secondary GPU) to generate a texture which is later drawn ...
totally new to openGL. I have this code, which displays my image using OpenGl. The problem I am facing is that my image size is 5184x3456px, but my ...
I have a Mac OS X (10.9) application with a custom NSView for my main NSWindow's contentView property. The only thing the custom view does is override ...
I'm using NSOpenGLContext to optimize drawing AU plugins. There are multiple plugins and each can have multiple instances. So each plugin creates a gl ...
I am learning OpenGL. To get an OpenGL context setup I was following the GlEssentials example from Apple. The GlContext is there locked in the draw me ...
I am creating a music-eduaction app that reads in musical scores - not audio files - and will need to present an animated graphical screen. I created ...
I do not know whether this is a depth buffer issue or another. I can see through one wall but not another: Now when I rotate so the second wall bec ...
I'm currently using OpenGL to display my QTMovie's frames into an NSOpenGLView. In order to do that, I'm creating a texture context with the following ...
I have a raw bitmap image of RGBA malloc-ed data; rows are obviously a multiple of 4 bytes. This data actually originates from an AVI (24-bit BGR form ...
I am trying out OpenGL 3.2 using a Cocoa window and an NSOpenGLView. However I can't get the NSOpenGLView to draw a red color. I just get a white wind ...
I am trying to draw a very simple blue square with a red background in OpenGL using an NSOpenGL on Mountain Lion. The code is simple and should work, ...
I'm writing an application that will require multiple windows. I've designed how I want my window to look in Interface Builder and when I start my app ...