1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:57:45 +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:
Stephan Unverwerth 2022-03-15 00:07:25 +01:00 committed by Andreas Kling
parent c8240e31a1
commit ac033dd9b6
4 changed files with 6 additions and 5 deletions

View file

@ -0,0 +1,22 @@
/*
* Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/String.h>
namespace GPU {
struct DeviceInfo final {
String vendor_name;
String device_name;
unsigned num_texture_units;
unsigned num_lights;
u8 stencil_bits;
bool supports_npot_textures;
};
}