mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 06:40:05 +00:00
LibGL+LibGPU+LibSoftGPU: Move DeviceConfig to LibGPU
This introduces a new abstraction layer, LibGPU, that serves as the usermode interface to GPU devices. To get started we just move the DeviceConfig there and make sure everything still works :^)
This commit is contained in:
parent
c8240e31a1
commit
ac033dd9b6
Notes:
sideshowbarker
2024-07-17 17:40:13 +09:00
Author: https://github.com/sunverwerth
Commit: ac033dd9b6
Pull-request: https://github.com/SerenityOS/serenity/pull/13294
Reviewed-by: https://github.com/Quaker762 ✅
Reviewed-by: https://github.com/creator1creeper1
Reviewed-by: https://github.com/gmta
4 changed files with 6 additions and 5 deletions
|
@ -17,6 +17,7 @@
|
|||
#include <LibGL/Tex/NameAllocator.h>
|
||||
#include <LibGL/Tex/Texture.h>
|
||||
#include <LibGL/Tex/TextureUnit.h>
|
||||
#include <LibGPU/DeviceInfo.h>
|
||||
#include <LibGfx/Bitmap.h>
|
||||
#include <LibGfx/Matrix4x4.h>
|
||||
#include <LibGfx/Rect.h>
|
||||
|
@ -304,7 +305,7 @@ private:
|
|||
}
|
||||
|
||||
SoftGPU::Device m_rasterizer;
|
||||
SoftGPU::DeviceInfo const m_device_info;
|
||||
GPU::DeviceInfo const m_device_info;
|
||||
bool m_sampler_config_is_dirty { true };
|
||||
bool m_light_state_is_dirty { true };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue