renderer: use primitive rendering for copying buffers

This commit is contained in:
vaxerski
2023-07-21 17:11:50 +02:00
parent 0af97636fa
commit d7e9eb65e2
2 changed files with 59 additions and 2 deletions

View File

@@ -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();