mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +00:00
LibGL+LibGPU+LibSoftGPU: Move StencilConfiguration.h to LibGPU
This commit is contained in:
parent
b652db1f54
commit
e416380826
8 changed files with 73 additions and 41 deletions
19
Userland/Libraries/LibGPU/Config.h
Normal file
19
Userland/Libraries/LibGPU/Config.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Stephan Unverwerth <s.unverwerth@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <AK/Types.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace GPU {
|
||||
|
||||
// FIXME: These 3 types were originally introduced in LibSoftGPU and are currently needed by the device interface.
|
||||
// Once we refactor the interface these should move back into LibSoftGPU.
|
||||
using ColorType = u32; // BGRA:8888
|
||||
using DepthType = float;
|
||||
using StencilType = u8;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue