gmanpersona (Greggman)

Tag óta

Legutóbbi dokumentációs tevékenység

Összes tevékenység megtekintése
Oldal Dátum Megjegyzés

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:

Using Fetch

use async / await