1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:07:46 +00:00

LibGL+LibGPU+LibSoftGPU: Move StencilConfiguration.h to LibGPU

This commit is contained in:
Stephan Unverwerth 2022-03-27 15:20:51 +02:00 committed by Andreas Kling
parent b652db1f54
commit e416380826
8 changed files with 73 additions and 41 deletions

View file

@ -6,6 +6,8 @@
#pragma once
#include <LibGPU/Config.h>
#define INCREASE_STATISTICS_COUNTER(stat, n) \
do { \
if constexpr (ENABLE_STATISTICS_OVERLAY) \
@ -23,8 +25,4 @@ static constexpr int NUM_LIGHTS = 8;
// FIXME: make this dynamically configurable through ConfigServer
static constexpr bool CLAMP_DEPRECATED_BEHAVIOR = false;
using ColorType = u32; // BGRA:8888
using DepthType = float;
using StencilType = u8;
}