1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00
serenity/Userland/Libraries/LibSoftGPU
Stephan Unverwerth 57215d0e1f LibSoftGPU: Allow arbitrary render target sizes
With the RASTERIZER_BLOCK_SIZE gone we can now render to any size, even
odd ones. We have to be careful to not generate out of bounds accesses
when calculating the render target and depth buffer pointers. Thus we
check the coverage mask and generate nullptrs for pixels that will not
be updated. This also masks out pixels that would touch the triangle but
are outside the render target/scissor rect bounds.
2022-01-09 16:21:13 +03:30
..
AlphaBlendFactors.h LibSoftGPU: Move alpha blend factor setup out of triangle rasterization 2022-01-09 16:21:13 +03:30
Clipper.cpp LibSoftGPU: Also interpolate normal during triangle clipping 2022-01-09 16:21:13 +03:30
Clipper.h LibGL+LibSoftGPU: Move Vertex and Triangle structs to LibSoftGPU 2021-12-24 05:10:28 -08:00
CMakeLists.txt LibSoftGPU: Vectorize texture sampling and shading 2022-01-09 16:21:13 +03:30
Config.h LibSoftGPU: Allow arbitrary render target sizes 2022-01-09 16:21:13 +03:30
DepthBuffer.cpp LibGL+LibSoftGPU: Move rendering related code to LibSoftGPU library 2021-12-24 05:10:28 -08:00
DepthBuffer.h LibGL+LibSoftGPU: Move rendering related code to LibSoftGPU library 2021-12-24 05:10:28 -08:00
Device.cpp LibSoftGPU: Allow arbitrary render target sizes 2022-01-09 16:21:13 +03:30
Device.h LibSoftGPU: Move alpha test into separate function 2022-01-09 16:21:13 +03:30
DeviceInfo.h LibGL+LibSoftGPU: Add method to query device info 2021-12-24 05:10:28 -08:00
Enums.h LibGL+LibSoftGPU: Implement texture coordinate generation 2021-12-30 14:24:29 +01:00
Image.cpp LibSoftGPU: Use bitwise and instead of modulus operator for POT textures 2022-01-09 16:21:13 +03:30
Image.h LibSoftGPU: Use bitwise and instead of modulus operator for POT textures 2022-01-09 16:21:13 +03:30
ImageDataLayout.h LibSoftGPU: Add methods to read and write image data 2021-12-24 05:10:28 -08:00
ImageFormat.h LibGL: Optimize float divisions in unpack_color 2021-12-30 14:24:29 +01:00
PixelQuad.h LibSoftGPU: Add PixelQuad struct that holds data for each rendered quad 2022-01-09 16:21:13 +03:30
Sampler.cpp LibSoftGPU: Use bitwise and instead of modulus operator for POT textures 2022-01-09 16:21:13 +03:30
Sampler.h LibSoftGPU: Vectorize texture sampling and shading 2022-01-09 16:21:13 +03:30
SIMD.h LibSoftGPU: Add SIMD.h with SoftGPU specific SIMD functions 2022-01-09 16:21:13 +03:30
Triangle.h LibGL+LibSoftGPU: Move Vertex and Triangle structs to LibSoftGPU 2021-12-24 05:10:28 -08:00
Vertex.h LibGL+LibSoftGPU: Implement eye, clip, NDC and window coordinates 2021-12-30 14:24:29 +01:00