1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 19:15:06 +00:00
serenity/Userland/Libraries/LibGL
Stephan Unverwerth addbcd42d7 LibGL: Fix triangle winding calculation
Since we operate in screen space where y points down we need to reverse
what is considered clock wise and what is considered counter clockwise.

The rasterizer always expects triangles with a consistent winding order
thus swap 2 vertices if necessary to reverse the winding before passing
the triangle on to the rasterization stage.
2021-08-18 20:30:58 +02:00
..
GL LibGL: Implement glDepthFunc 2021-08-18 20:30:58 +02:00
Tex LibGL: Improve texture sampling performance 2021-08-18 20:30:58 +02:00
Clipper.cpp LibGL: Fix clipping and interpolate vertex attributes 2021-08-18 20:30:58 +02:00
Clipper.h LibGL: Fix clipping and interpolate vertex attributes 2021-08-18 20:30:58 +02:00
CMakeLists.txt LibGL: Implement glVertexPointer 2021-08-14 12:49:29 +02:00
DepthBuffer.cpp Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
DepthBuffer.h Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
GLBlend.cpp Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
GLColor.cpp LibGL: Implement glColor3fv 2021-08-13 16:54:37 +04:30
GLContext.cpp Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
GLContext.h LibGL: Implement glDepthFunc 2021-08-18 20:30:58 +02:00
GLLights.cpp Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
GLLists.cpp LibGL: Implement glGenLists and a few friends 2021-05-11 14:09:17 +01:00
GLMat.cpp Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
GLStruct.h LibGL: Fix clipping and interpolate vertex attributes 2021-08-18 20:30:58 +02:00
GLTexture.cpp LibGL: Implement glTexParameter{i,f} 2021-08-12 18:58:41 +02:00
GLUtils.cpp LibGL: Implement glDepthFunc 2021-08-18 20:30:58 +02:00
GLVert.cpp LibGL: Implement glTexCoord4fv 2021-08-14 12:49:29 +02:00
GLVertexArrays.cpp LibGL: Implement glDrawElements 2021-08-14 12:49:29 +02:00
SoftwareGLContext.cpp LibGL: Fix triangle winding calculation 2021-08-18 20:30:58 +02:00
SoftwareGLContext.h LibGL: Fix clipping and interpolate vertex attributes 2021-08-18 20:30:58 +02:00
SoftwareRasterizer.cpp LibGL: Fix clipping and interpolate vertex attributes 2021-08-18 20:30:58 +02:00
SoftwareRasterizer.h LibGL: Implement glDepthFunc 2021-08-18 20:30:58 +02:00