Platform/GFX/WebCL

From MozillaWiki
Jump to navigation Jump to search

The contents of this page are out of date.


About WebCL

WebCL is an in-progress effort by Khronos (http://www.khronos.org) to specify a JavaScript/DOM API similar to OpenCL, which is an API for high-performance computing hardware, such as GPGPUs. WebCL should be to OpenCL what WebGL is to OpenGL.

The latest WebCL Working Draft is available here:

 https://cvs.khronos.org/svn/repos/registry/trunk/public/webcl/spec/latest/index.html

There is a private and a public WebCL mailing list at Khronos. The public list is:

 https://www.khronos.org/webcl/public-mailing-list/

The private list is:

 https://www.khronos.org/members/login/list_archives/webcl/

Public discussion for WebCL integration in Gecko:

 webcl-gecko@googlegroups.com

Implementations for Gecko

There is a prototype implementation developed by Nokia Research available at http://hg.mozilla.org/projects/webcl/.

See http://webcl.nokiaresearch.com for more information on the Nokia WebCL project.

Mozilla projects : WebCL

Feature/TODO Status Who? Priority Comments
Using image from dom (canvas /img) NOK ??? Can use something like WebGL
3D interactions with angle on windows with directX10+ NOK ???
flags for macOSX NOK ???
Add cycle collector to nsWebCL NOK ???
Delete custom quickstubs for typedArray NOK ??? see modifications and only use JSObject
Delete custom quickstubs for arrays NOK ??? Try to only use nsIvariant
Create patches for integration in mozilla central NOK ???
Code and bench the 2 solutions for the security: formal validation and

adding watchdog in array, loop and after "N" opcode directly in CL code

NOK ???
Add mochitest NOK ???