mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
192befa84b
This is required to allow lighting to work properly in the GL. We currently have the maximum number of lights in the software GL context set to 8, as this is the minimum that OpenGL mandates according to the spec.
21 lines
320 B
C++
21 lines
320 B
C++
/*
|
|
* Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/String.h>
|
|
|
|
namespace SoftGPU {
|
|
|
|
struct DeviceInfo final {
|
|
String vendor_name;
|
|
String device_name;
|
|
unsigned num_texture_units;
|
|
unsigned num_lights;
|
|
};
|
|
|
|
}
|