1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:01:01 +00:00
serenity/Userland/Libraries/LibGL
Jelle Raaijmakers edcb6176ce LibGL+Lib*GPU: Set model view and projection matrices separately
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%. :^)
2023-10-15 12:14:07 +02:00
..
Buffer LibGL: Add simple implementation of buffer objects 2022-11-26 09:38:13 +01:00
GL LibGL: Implement GL_BLEND_DST and GL_BLEND_SRC 2023-01-03 19:49:31 -05:00
Shaders LibGL: Fix minor const-correctness issues 2023-02-21 00:54:04 +01:00
Tex Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Buffer.cpp LibGL: Make GLsizeiptr signed 2023-01-03 18:11:37 +01:00
ClipPlane.cpp LibGL: Move AK/Debug.h include to where it is used 2023-01-02 20:27:20 -05:00
CMakeLists.txt LibGL: Generate the API wrappers 2022-12-20 10:42:31 +01:00
ContextParameter.cpp LibGL: Implement GL_BLEND_DST and GL_BLEND_SRC 2023-01-03 19:49:31 -05:00
GLAPI.json LibGL: Stop unnecessarily casting to float 2023-01-01 23:33:50 +01:00
GLContext.cpp LibGL+Lib*GPU: Set model view and projection matrices separately 2023-10-15 12:14:07 +02:00
GLContext.h LibGL+Lib*GPU: Set model view and projection matrices separately 2023-10-15 12:14:07 +02:00
Image.cpp LibGL: Implement support for the GL_RGB5_A1 internal image format 2023-05-04 16:11:28 +02:00
Image.h LibGL+LibGPU+LibSoftGPU: Implement texture pixel format support 2022-08-27 12:28:05 +02:00
Lighting.cpp LibGL: Move AK/Debug.h include to where it is used 2023-01-02 20:27:20 -05:00
List.cpp LibGL: Move AK/Debug.h include to where it is used 2023-01-02 20:27:20 -05:00
Matrix.cpp LibGL+Lib*GPU: Set model view and projection matrices separately 2023-10-15 12:14:07 +02:00
NameAllocator.cpp LibGL: Remove Texture note leftovers from the NameAllocator class 2022-12-17 22:39:09 -07:00
NameAllocator.h LibGL: Refactor TextureNameAllocator to a more general NameAllocator 2022-11-26 09:38:13 +01:00
Shader.cpp LibGL: Move AK/Debug.h include to where it is used 2023-01-02 20:27:20 -05:00
Stencil.cpp LibGL: Move AK/Debug.h include to where it is used 2023-01-02 20:27:20 -05:00
Texture.cpp LibGL: Move AK/Debug.h include to where it is used 2023-01-02 20:27:20 -05:00
Vertex.cpp LibGL: Move AK/Debug.h include to where it is used 2023-01-02 20:27:20 -05:00