mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 05:55:13 +00:00
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 :^)
22 lines
370 B
C++
22 lines
370 B
C++
/*
|
|
* 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;
|
|
};
|
|
|
|
}
|