mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibGL+LibSoftGPU: Implement fixed pipeline support for GL_COMBINE
`GL_COMBINE` is basically a fixed function calculator to perform simple arithmetics on configurable fragment sources. This patch implements a number of texture env parameters with support for the RGBA internal format.
This commit is contained in:
parent
494024b70e
commit
1d36bfdac1
Notes:
sideshowbarker
2024-07-17 07:15:53 +09:00
Author: https://github.com/gmta
Commit: 1d36bfdac1
Pull-request: https://github.com/SerenityOS/serenity/pull/15150
Reviewed-by: https://github.com/linusg ✅
Reviewed-by: https://github.com/sunverwerth ✅
10 changed files with 461 additions and 58 deletions
|
@ -935,6 +935,9 @@ void GLContext::build_extension_string()
|
|||
extensions.append("GL_EXT_texture_env_add"sv);
|
||||
}
|
||||
|
||||
if (m_device_info.max_texture_lod_bias > 0.f)
|
||||
extensions.append("GL_EXT_texture_lod_bias"sv);
|
||||
|
||||
m_extensions = String::join(' ', extensions);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue