mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibGL+LibSoftGPU: Support generation of multiple texture coordinates
This commit is contained in:
parent
bc17a87450
commit
12f63df329
Notes:
sideshowbarker
2024-07-17 20:38:53 +09:00
Author: https://github.com/sunverwerth
Commit: 12f63df329
Pull-request: https://github.com/SerenityOS/serenity/pull/11927
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/Quaker762 ✅
Reviewed-by: https://github.com/gmta ✅
4 changed files with 101 additions and 93 deletions
|
@ -70,8 +70,8 @@ struct RasterizerOptions {
|
|||
WindingOrder front_face { WindingOrder::CounterClockwise };
|
||||
bool cull_back { true };
|
||||
bool cull_front { false };
|
||||
u8 texcoord_generation_enabled_coordinates { TexCoordGenerationCoordinate::None };
|
||||
Array<TexCoordGenerationConfig, 4> texcoord_generation_config {};
|
||||
Array<u8, NUM_SAMPLERS> texcoord_generation_enabled_coordinates {};
|
||||
Array<Array<TexCoordGenerationConfig, 4>, NUM_SAMPLERS> texcoord_generation_config {};
|
||||
Gfx::IntRect viewport;
|
||||
bool lighting_enabled { false };
|
||||
bool color_material_enabled { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue