summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSoftGPU/AlphaBlendFactors.h
AgeCommit message (Collapse)Author
2022-01-09LibSoftGPU: Move alpha blend factor setup out of triangle rasterizationStephan Unverwerth
Since the alpha blend configuration should not change between most calls of draw_primitives it makes no sense to reinitialize the blend factors for every rasterized triangle. The alpha blend factors are now set up whenever the device config changes. The blend factors are stored in struct AlphaBlendFactors.