google / filament

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
https://google.github.io/filament/
Apache License 2.0
17.35k stars 1.84k forks source link

backend: zero-cost ES2 draw() #7855

Closed pixelflinger closed 1 month ago

pixelflinger commented 1 month ago

we use a different hook for the draw() call when on an ES2 context, this eliminates completely the overhead of supporting ES2 for the draw call. draw calls are expected to be the most common calls.