ladybird/Userland/Libraries/LibGPU
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
..
CMakeLists.txt LibVirtGPU: Add a new GPU device that talks to our VirtIO-GPU driver 2022-12-26 09:39:20 +01:00
Config.h Everywhere: Fix order of includes and #pragma once 2022-09-18 18:30:05 -07:00
Device.h LibGL+Lib*GPU: Set model view and projection matrices separately 2023-10-15 12:14:07 +02:00
DeviceInfo.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Driver.cpp LibGPU: Remove DeprecatedString usage 2023-01-30 13:49:52 -05:00
Driver.h LibGL+LibGPU+LibSoftGPU: Load SoftGPU driver dynamically 2022-04-06 11:32:24 +02:00
Enums.h LibGL+LibGPU+LibSoftGPU: Implement matrix stack per texture unit 2022-09-11 22:37:07 +01:00
Image.cpp Userland: Add missing Math.h and IntegralMath.h header includes 2023-01-19 11:29:48 +00:00
Image.h LibGPU+LibSoftGPU: Move size and pixel format information to GPU::Image 2022-12-26 09:39:20 +01:00
ImageDataLayout.h LibGL+LibGPU+LibSoftGPU: Implement flexible pixel format conversion 2022-08-27 12:28:05 +02:00
ImageFormat.h LibGPU+LibSoftGPU: Add PixelFormat::Intensity 2022-08-27 12:28:05 +02:00
IR.h LibGPU: Add inputs and outputs to GPU shader IR 2022-12-17 22:39:09 -07:00
Light.h LibGL+LibGPU+LibSoftGPU: Move Light.h to LibGPU 2022-04-06 11:32:24 +02:00
LightModelParameters.h LibGPU+LibSoftGPU: Move LightModelParameters into LibGPU 2022-04-06 11:32:24 +02:00
Material.h LibGL+LibGPU+LibSoftGPU: Move Material.h to LibGPU 2022-04-06 11:32:24 +02:00
RasterizerOptions.h Everywhere: Remove unused includes of AK/Array.h 2023-01-02 20:08:35 +00:00
RasterPosition.h LibGPU+LibSoftGPU: Move RasterPosition into its own header in LibGPU 2022-04-06 11:32:24 +02:00
SamplerConfig.h LibGL: Implement GL_TEXTURE_ENV_COLOR 2023-01-01 23:33:26 +01:00
Shader.h LibGL+LibSoftGPU: Add GPU side shader infrastructure 2022-12-17 22:39:09 -07:00
StencilConfiguration.h Libraries: Add missing includes, add namespace qualifiers 2022-09-18 13:27:24 -04:00
TextureUnitConfiguration.h LibGL+LibGPU+LibSoftGPU: Implement matrix stack per texture unit 2022-09-11 22:37:07 +01:00
Vertex.h LibGL+LibGPU+LibSoftGPU: Implement matrix stack per texture unit 2022-09-11 22:37:07 +01:00