[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] WebGL Best Practices
Note that there's an active ongoing discussion about the requestPostAnimationFrame best practice. It seems that the polyfill works well in Firefox, but not in Chrome. Suggest holding off adding that to your applications for the moment.
The MDN doc links to an explainer:
It's pretty small, but it's also not a very complex feature (implementation-wise). As explained there, the original motivation was to allow querying computed DOM properties at a time when it's guaranteed it won't force a relayout.
Are there more resources about requestPostAnimationFrame? First I've heard of rPAF.
[cross-posted to webgl-dev-list]
Dear WebGL community:
Mozilla, with contributions from the rest of the WebGL working group, has just revised the WebGL Best Practices
document. It contains a significant number of tips for best structuring WebGL applications and attaining top performance. Please check it out!
On behalf of the WebGL working group,