[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] OpenCL in WebGL?
On Jun 15, 2010, at 8:47 PM, stephen white wrote:
> Even with the current efforts to optimise things, I can only get about 500 draw commands for interactive frame rates, even though each draw can be arbitrarily complex once the GPU has been told what to do.
It really all depends on when mobile hardware gets these capabilities. Geometry shaders is another technology that would do many of the things that OpenCL interoperability can do. Neither of these are available on any mobile hardware today, although the OpenCL group is working on OpenCL ES, which may be the soonest technology available on mobile hardware, even if it would have to be partly implemented in software, using something like LLVM (http://llvm.org/devmtg/2009-10/OpenCLWithLLVM.pdf). So these things will happen. We just have to wait a while.
In the meantime, it would be interesting to understand why your content has the performance it does. Can you sample it? It may be the interface to Typed Arrays being slow, which can be significantly improved. Or it may be in some heavily used WebGL API call, which might be optimizable some. We should make sure we have all the fast path logic possible in place before resorting to other technologies to solve performance problems.
You are currently subscribed to firstname.lastname@example.org.
To unsubscribe, send an email to email@example.com with
the following command in the body of your email: