mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 10:12:07 +00:00
LibSoftGPU used to calculate the normal transformation based on the model view transformation for every primitive, because that's when we sent over the matrix. By making LibGL a bit smarter and only update the matrices when they could have changed, we only need to calculate the normal transformation once on every matrix update. When viewing `Tuba.obj` in 3DFileViewer, this brings the percentage of time spent in `FloatMatrix4x4::inverse()` down from 15% to 0%. :^) |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| CommandBufferBuilder.cpp | ||
| CommandBufferBuilder.h | ||
| Commands.h | ||
| Device.cpp | ||
| Device.h | ||
| Image.cpp | ||
| Image.h | ||
| Shader.cpp | ||
| Shader.h | ||
| VirGLProtocol.h | ||