From b5ea887f072fa055cf23ec389ed81e3ee4c5319a Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Thu, 16 Apr 2026 19:47:53 +0100 Subject: debug/overlay: optimize rendering, cleanup and nicetify (#14097) optimizes the rendering, drops direct cairo, fixes up api. Also improves the visuals etc of the overlay --- src/render/Renderer.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/render/Renderer.hpp') diff --git a/src/render/Renderer.hpp b/src/render/Renderer.hpp index 42592f2c..f52b9e3a 100644 --- a/src/render/Renderer.hpp +++ b/src/render/Renderer.hpp @@ -31,6 +31,8 @@ #include "Framebuffer.hpp" #include "Texture.hpp" +#include + struct SMonitorRule; class CWorkspace; class CInputPopup; @@ -164,6 +166,7 @@ namespace Render { virtual SP createTexture(const SP buffer, bool keepDataCopy = false); virtual SP renderText(const std::string& text, CHyprColor col, int pt, bool italic = false, const std::string& fontFamily = "", int maxWidth = 0, int weight = 400); + virtual SP renderText(Hyprgraphics::CTextResource::STextResourceData&& data); SP loadAsset(const std::string& filename); virtual bool shouldUseNewBlurOptimizations(PHLLS pLayer, PHLWINDOW pWindow); virtual bool explicitSyncSupported() = 0; -- cgit v1.2.3