mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 22:52:22 +02:00
LibGL+LibSoftGPU: Implement eye, clip, NDC and window coordinates
This follows the OpenGL 1.5 spec much more closely. We need to store the eye coordinates especially, since they are used in texture coordinate generation and fog fragment depth calculation.
This commit is contained in:
committed by
Andreas Kling
parent
fd4d6b0031
commit
fef7f7159c
Notes:
sideshowbarker
2024-07-17 21:55:58 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/fef7f7159c3 Pull-request: https://github.com/SerenityOS/serenity/pull/11496 Reviewed-by: https://github.com/sunverwerth ✅
@@ -289,7 +289,7 @@ void SoftwareGLContext::gl_end()
|
||||
mv_elements[2][0], mv_elements[2][1], mv_elements[2][2]);
|
||||
normal_transform = normal_transform.inverse();
|
||||
|
||||
m_rasterizer.draw_primitives(primitive_type, m_projection_matrix * m_model_view_matrix, normal_transform, m_texture_matrix, m_vertex_list, enabled_texture_units);
|
||||
m_rasterizer.draw_primitives(primitive_type, m_model_view_matrix, normal_transform, m_projection_matrix, m_texture_matrix, m_vertex_list, enabled_texture_units);
|
||||
|
||||
m_vertex_list.clear_with_capacity();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user