Khronos finishes WebCL 1.0 to let Web apps tap into GPU - TopicsExpress



          

Khronos finishes WebCL 1.0 to let Web apps tap into GPU ift.tt/1hBunDR WebGL has been a strong success, bringing hardware-accelerated 3D graphics to the browser. Now the standards group behind it hopes to let Web apps get even more use out of the graphics chip by releasing version 1.0 of an interface called WebCL. At this weeks Game Developers Conference in San Francisco, the Khronos Group standards body announced the ratification and release of WebCL 1.0. WebCL lets programmers run general-purpose tasks on a devices graphics processing unit (GPU) or on a multicore central processing unit (CPU), the main brain in computers and mobile devices. Related stories Chrome, Opera pass Epic Citadel demos Web graphics test Waze finally shows up in desktop Google Maps OpenCL 2.0 brings new graphics-chip power to software Leak confirms WebGL, SPDY for IE11 Pics.io to bring Lightroom-like software to browsers Just as WebGL dovetails with the OpenGL graphics interface, WebCL dovetails with the OpenCL interface for running code on GPUs. One big fan is Samsung, which maintains an open-source WebCL project. However, while most of the browser world has embraced WebGL, WebCL faces more resistance. Vlad Vukicevic, Mozillas engineering director and the inventor of WebGL, said Firefox engineers would prefer extending of WebGL to adopting OpenCL: WebGL was successful because OpenGL itself was successful. The establishment of OpenGL ES as the standard for doing mobile graphics helped WebGL significantly. OpenCL does not have anywhere near that level of support. Its not part of the iOS, Android, or even Windows Phone software stacks. Apple uses it under the hood, but its not exposed to developers. Theres also very little actual demand for OpenCL from developers. WebGL also could use an update, though. On Monday, Khronos released OpenGL ES 3.1, bringing some of the OpenGL 4.4 desktop standard to the ES version that ships in smartphones and other more limited devices. Kronos listed the following new features of OpenGL ES 3.1: • Compute shaders - Applications can use the GPU to perform general computing tasks, tightly coupled with graphics rendering. Compute shaders are written in the GLSL ES shading language, and can share data with the graphics pipeline. • Separate shader objects - Applications can program the vertex and fragment shader stages of the GPU independently, and can mix and match vertex and fragment programs without an explicit linking step. • Indirect draw commands - The GPU can be instructed to take draw commands from its memory rather than waiting for commands from the CPU. For example, this allows a compute shader running on the GPU to perform a physics simulation and then generate the draw commands needed to display the results, without CPU intervention. • Enhanced texturing functionality - Including multisample textures, stencil textures, and texture gather. • Shading language improvements - New arithmetic and bitfield operations, and features to enable modern styles of shader programming. • Optional extensions - Per-sample shading, advanced blending modes, and more. GPUs account for a lot of new power arriving on computing systems, either mobile devices or PCs. One tricky aspect of that power is using it, though: not all software is easily broken down into independent pieces that run in parallel, and sharing data from software running on a CPU with software running on a GPU is complicated. Related Links:Google Chromes shutdown glitch defies an easy fixTim Berners-Lee: 25 years on, the Web still needs work (Q&A)2014s battle for dashboard supremacy: Apples CarPlay vs. Googles OAA vs. MirrorLinkFirefox OS taps into Cordova for easier Web-app developmentUseful tools in the OS X CoreServices folder
Posted on: Wed, 19 Mar 2014 16:34:33 +0000

Trending Topics



Recently Viewed Topics




© 2015