1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00
serenity/Userland/Libraries/LibGPU/DeviceInfo.h
Jelle Raaijmakers 1d36bfdac1 LibGL+LibSoftGPU: Implement fixed pipeline support for GL_COMBINE
`GL_COMBINE` is basically a fixed function calculator to perform simple
arithmetics on configurable fragment sources. This patch implements a
number of texture env parameters with support for the RGBA internal
format.
2022-09-11 22:37:07 +01:00

25 lines
467 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;
float max_texture_lod_bias;
u8 stencil_bits;
bool supports_npot_textures;
bool supports_texture_env_add;
};
}