mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +00:00
LibSoftGPU: Move alpha test into separate function
This commit is contained in:
parent
68a1727547
commit
941e9d9922
Notes:
sideshowbarker
2024-07-17 21:19:14 +09:00
Author: https://github.com/sunverwerth
Commit: 941e9d9922
Pull-request: https://github.com/SerenityOS/serenity/pull/11568
Reviewed-by: https://github.com/Hendiadyoin1 ✅
Reviewed-by: https://github.com/Quaker762 ✅
Reviewed-by: https://github.com/gmta
2 changed files with 37 additions and 24 deletions
|
@ -98,6 +98,7 @@ private:
|
|||
void rasterize_triangle(const Triangle& triangle);
|
||||
void setup_blend_factors();
|
||||
void shade_fragments(PixelQuad&);
|
||||
bool test_alpha(PixelQuad&);
|
||||
|
||||
private:
|
||||
RefPtr<Gfx::Bitmap> m_render_target;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue