diff options
author | Stephan Unverwerth <s.unverwerth@serenityos.org> | 2022-03-15 00:07:25 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-06 11:32:24 +0200 |
commit | ac033dd9b60bc384bc7e20ecc9f7a4b6a623d1d3 (patch) | |
tree | 1aeff3900fe529f77696410fc9d84910b62f4a06 /Userland/Libraries/LibGL/GLContext.h | |
parent | c8240e31a16166e6a4a832e14f9639329a0eef9d (diff) | |
download | serenity-ac033dd9b60bc384bc7e20ecc9f7a4b6a623d1d3.zip |
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 :^)
Diffstat (limited to 'Userland/Libraries/LibGL/GLContext.h')
-rw-r--r-- | Userland/Libraries/LibGL/GLContext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGL/GLContext.h b/Userland/Libraries/LibGL/GLContext.h index 394ee8216e..7bf7645251 100644 --- a/Userland/Libraries/LibGL/GLContext.h +++ b/Userland/Libraries/LibGL/GLContext.h @@ -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 }; |