mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +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
4 changed files with 6 additions and 5 deletions
22
Userland/Libraries/LibGPU/DeviceInfo.h
Normal file
22
Userland/Libraries/LibGPU/DeviceInfo.h
Normal 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;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue