diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-10 15:41:26 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-10 15:41:26 +0200 |
| commit | 4b334594dc0d8989d8bb09c7db76694aacc71951 (patch) | |
| tree | 9b5fcedc0470209959cd6553b95d9632883f82de /src/render/OpenGL.hpp | |
| parent | 06c0be5ea6e3ed6b7fe7a45a550d42bc646ad6db (diff) | |
Added splashes
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 4a6f0598..84cfcd39 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -6,6 +6,8 @@ #include <list> #include <unordered_map> +#include <cairo/cairo.h> + #include "Shaders.hpp" #include "Shader.hpp" #include "Texture.hpp" @@ -121,6 +123,8 @@ private: CFramebuffer* blurMainFramebufferWithDamage(float a, wlr_box* pBox, pixman_region32_t* damage); void renderTextureInternalWithDamage(const CTexture&, wlr_box* pBox, float a, pixman_region32_t* damage, int round = 0, bool discardOpaque = false, bool noAA = false, bool allowCustomUV = false); + + void renderSplash(cairo_t *const, cairo_surface_t *const); }; inline std::unique_ptr<CHyprOpenGLImpl> g_pHyprOpenGL;
\ No newline at end of file |
