master
changed ofGetCurrentWindow to ofGetWindowPtr
Swapped order of loadProgram arguments for backwards compatibility.
throw runtime errors in openclbuffer
comments cleanup, whitespace formatting cleanup
makes private elements private + better encapsulation default write is blocking, since non-blocking write in old api would have no way of querying cl_event, and therefore a risk of race conditions.
Fixed buggy check when initing image with CL_MEM_COPY_HOST_PTR and data pointer.
add nvidia_cuda compatibility + fixes some things that severely tripped up the Titan: + on windows, for OpenGL/OpenCL interop, you need to clEnqueueAcquireGLObjects and --"--release otherwise you'll get Error -1000 whenever you want to run an interop kernel. (boy, that was tough to find out -- & it's really strange that OS X let's you get away without it.) + we'll automagically keep track of OpenGL interop objects attached to kernels by monitoring their parameter settings, if an object is GL interop, it will be acquired and released around the run() statement - this needs some more testing + add a method for friendly error messages from OpenCL
ping pong rename
fixed spacing!
Merge branch 'memo/master'