summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-07-21 17:11:50 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-07-21 17:11:54 +0200
commitd7e9eb65e233f216688377df43359a822a5d098f (patch)
tree56b54488f6a9d82c2024c8f66468347d9d4ecd6e /src/render/OpenGL.hpp
parent0af97636fa658dc5304402a64b5069134cf79b9c (diff)
renderer: use primitive rendering for copying buffers
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index c2d3a708..9080c90b 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -179,6 +179,7 @@ class CHyprOpenGLImpl {
void renderTextureInternalWithDamage(const CTexture&, wlr_box* pBox, float a, CRegion* damage, int round = 0, bool discardOpaque = false, bool noAA = false,
bool allowCustomUV = false, bool allowDim = false);
+ void renderTexturePrimitive(const CTexture& tex, wlr_box* pBox);
void renderSplash(cairo_t* const, cairo_surface_t* const, double);
void preBlurForCurrentMonitor();