Not 100% the same as the future WebCL specification nor has all its advantages. Some limitations are:
- Writing over multiple buffers in a single kernel.
- Read and write a buffer at same time. (In this case you must create a temporary buffer for the writing and later fix the changes with the webCLGL.copy function.)
- Basic example A+B
- Benchmarks
- Using vectors
- Using vectors as output
- Compare values ??with other ids
WebCLGL 2.0 BETA4 Dec 4, 2013
Offset parameter at now must be indicated in createBuffer function.
Added function enqueueReadBuffer_WebGLTexture().
Added function copy(bufferToRead, bufferToWrite).
WebCLGL 2.0 BETA4 Nov 23, 2013
enqueueWriteBuffer function allows use a WebGLTexture object and HTMLImageElement.
Added optional argument "flip" in enqueueWriteBuffer function.
WebCLGL 2.0 BETA3 Nov 03, 2013
Fixed bug that prevented write to a buffer with a different length than indicated in "new WebCLGL(length, offset, webglcontext)".
Removed length argument in "new WebCLGL(length, offset, webglcontext)".
WebCLGL 2.0 BETA2 Nov 03, 2013
Now you can provide a specific context WebGL and save directly at your floating point texture using enqueueNDRangeKernel, in the case that you are using WebGL in your application and you want an improvement in performance.
WebCLGL 2.0 BETA1 Oct 28, 2013
Now uses floating point texture capabilities (OES_texture_float), float and vector (in/out) and others improvements.