The Khronos Group - 媒体创作与加速

Khronos Group 是由其成员所提供之基金支持的行业协会,专注于创立开放标准,免授权费的移动设备接口程序API, 用以实现多样化平台及设备上的高质量动态多媒体创作和加速。所有的Khronos工作组成员均可为Khronos API规范的制定贡献其力量,均可在相关标准公开部署前拥有各个发展阶段的表决权,更可通过及早接触相关标准草案及顺应性测试加速其先进的3D平台及相关应用程序的发布。

WebCL - Heterogeneous parallel computing in HTML5 web browsers

The WebCL working group is working to define a JavaScript binding to the Khronos OpenCL standard for heterogeneous parallel computing. WebCL will enable web applications to harness GPU and multi-core CPU parallel processing from within a Web browser, enabling significant acceleration of applications such as image and video processing and advanced physics for WebGL games. WebCL is being developed in close cooperation with the Web community and has the potential to extend the capabilities of HTML5 browsers to accelerate computationally intensive and rich visual computing applications.

WebCL – Parallel Computing for the Web

  • Khronos launching new WebCL initiative
    • First announced in March 2011
    • API definition already underway
  • JavaScript binding to OpenCL
    • Security is top priority
  • Many use cases
    • Physics engines to complement WebGL
    • Image and video editing in browser
  • Stay close to the OpenCL standard
    • Maximum flexibility
    • Foundation for higher-level middleware

WebCL Open Source Prototypes

Samsung WebCL Prototype Demo

N-Body Simulation:

  • Calculates the positions and velocities of N particles and animates them
  • Two simulation modes: JavaScript and WebCL
  • Two drawing modes: JavaScript and WebGL with 2D/3D rendering option
  • For 1024 particles, WebCL gets 20~40x faster simulation time on Mac
  • Video of Demo

 

 

 

Samsung WebCL Prototype Demo

Deformation Demo:

  • Calculates and renders transparent and reflective deformed spheres on top of photo background
  • Performance comparison on Mac
    • JS: ~1 FPS
    • WebCL: 87-116 FPS
  • Video of Demo

 

 

Nokia Photo Editor Demo

    Nokia Photo Editor Demo
  • Video of Demo
  • Pulls images from local disk, Flickr, etc.
  • Applies cool filter effects in real time
  • Based on state-of-the-art web technologies
    • HTML5
    • CSS3
    • Javascript
    • WebGL
    • Nokia WebCL Prototype
    • jQuery
    • Google Closure

Nokia WebCL Kernel Toy Demo

 

 

 

 

 

WebCL Resources and Participation

Khronos open process to engage Web community

  • Public specification drafts, mailing lists, forums
  • .(JavaScript must be enabled to view this email address)
  • https://www.khronos.org/webcl/wiki/Main_Page

Khronos welcomes new members to define and drive WebCL

  • .(JavaScript must be enabled to view this email address)