gmanpersona (Greggman)

Membro desde
gmanpersona

Atividade recente na documentação

Ver toda a atividade
Página Data Comentário

WebGL best practices


remove the nonsense polyfill for requestPostAnimationFrame. setTimeout has no guarantees how long it takes. That it happens to work on Firefox is just luck. Recommending luck is not a "Best Practice"

WebGL best practices


recommend texStorage always in WebGL2. There's nothing special about single mip level textures. The texImage API allows updating mips in any order and at any size. The implications for memory usage mean you should avoid if possible in all situations

WebGL best practices


remove the alpha:false part. It's provably false. alpha: true or alpha:false perf is different by GPU just like every other part of a GPU.

WebGL best practices


remove comment about vertex shader textures not working in mobile. Seems out of date: https://webglstats.com/webgl/parameter/MAX_VERTEX_TEXTURE_IMAGE_UNITS?platforms=0000007c0012800500

Using Fetch


use async / await