mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 10:47:36 +00:00
LibGL+LibGPU+LibSoftGPU: Implement blend equations
This implements support for `glBlendEquation` and `glBlendEquationSeparate`. These functions modify the calculation of the resulting color in blending mode.
This commit is contained in:
parent
55668c3e48
commit
aa3a6767f6
10 changed files with 202 additions and 30 deletions
|
@ -50,9 +50,15 @@
|
|||
},
|
||||
"BlendEquation": {
|
||||
"arguments": [
|
||||
{"type": "GLenum", "name": "mode"}
|
||||
{"type": "GLenum", "name": "mode"},
|
||||
{"expression": "mode"}
|
||||
],
|
||||
"unimplemented": true
|
||||
"implementation": "blend_equation_separate"
|
||||
},
|
||||
"BlendEquationSeparate": {
|
||||
"arguments": [
|
||||
{"type": "GLenum", "name": ["modeRGB", "modeAlpha"]}
|
||||
]
|
||||
},
|
||||
"BlendFunc": {
|
||||
"arguments": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue