OpenGL 2D Drawing Demo
shows how to load and render pixels in a CAOpenGLLayer
using a custom vertex and fragment shader using Open GL 3.2 and GLSL 1.50.
The shaders loading code is adapted from the amazing Cocoa-GL-Tutorial and Cocoa-GL-Tutorial 2.
OpenGL 2D Drawing Demo
was written by Ruben Nine (@sonicbee9) and contains fragments of code from the Cocoa-GL-Tutorial and Cocoa-GL-Tutorial 2 written by Tom Davie.
There is no license or restrictions of any kind. Do whatever you want with this code.