ladybird/Userland/Libraries/LibGPU/DeviceInfo.h
Jelle Raaijmakers 94f016b363 LibGL+LibGPU+LibSoftGPU: Report texture env add extension
The Quake 3 port makes use of this extension to determine a more
efficient multitexturing strategy. Since LibSoftGPU supports it, let's
report the extension in LibGL. :^)
2022-08-28 23:45:43 +01:00

24 lines
435 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;
unsigned max_clip_planes;
u8 stencil_bits;
bool supports_npot_textures;
bool supports_texture_env_add;
};
}