From 87f83738c37711f0342d3a4b799cd6d6fe1efb9d Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sat, 19 Oct 2019 00:02:03 +0200 Subject: [PATCH] gs-helper: Add common debug colors --- source/obs/gs/gs-helper.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/obs/gs/gs-helper.hpp b/source/obs/gs/gs-helper.hpp index 7e73dcd3..a55c7497 100644 --- a/source/obs/gs/gs-helper.hpp +++ b/source/obs/gs/gs-helper.hpp @@ -19,6 +19,7 @@ #pragma once #include +#include #include "plugin.hpp" // OBS @@ -38,6 +39,12 @@ namespace gs { ~context(); }; + static const float debug_color_source[4] = {0.f, .5f, 5.f, 1.f}; + static const float debug_color_cache[4] = {1.f, .75f, 0.f, 1.f}; + static const float debug_color_cache_render[4] = {.2f, .15f, 0.f, 1.f}; + static const float debug_color_convert[4] = {.5f, .5f, 0.5f, 1.f}; + static const float debug_color_render[4] = {0.f, 1.f, 0.0f, 1.f}; + class debug_marker { std::string _name;