Requires 10.7 or above for convertRectToBacking.
Create a template WebGLNameMappedObject for the OpenGL objects that need to be mapped from a "name" (integer) to a persistent wrapper object. Use some macros to make the declaration / storage for the maps a bit simpler.
Starting to clean up the chaos surrounding parameters. Remove some parameters that have been removed in revisions to the WebGL 1.0 spec.
MIDIObjectRef is a UInt32, not a pointer type. Use 0 and not NULL.
…ry layout. The new code does an assert that the strings pointed to by argv are contiguous in memory. For "bundled" Plask we build a custom argv for libuv, and so make that comply with the expectation that argv and argv are back-to-back in memory.
This can be enabled by setting 'highdpi': 2 in the simpleWindow settings. A different approach is taken than the Cocoa point/pixel translation. For Plask it makes more sense to always work in pixels, and basically the highdpi flag just controls the window size and weather the backing store is scaled up or not. Since the events will still be done in Cocoa points, they are scaled back to pixels in the Plask event handling code. Note, this doesn't set NSHighResolutionCapable in the plist.
…sion with the original code and ours because of row / column major ordering differences.