added decoration:blur_new_optimizations
This commit is contained in:
parent
8a4e04d789
commit
070d7699a7
6 changed files with 55 additions and 2 deletions
|
|
@ -38,6 +38,9 @@ struct SMonitorRenderData {
|
|||
|
||||
CTexture stencilTex;
|
||||
|
||||
CFramebuffer blurFB;
|
||||
bool blurFBDirty = true;
|
||||
|
||||
wlr_box backgroundTexBox;
|
||||
};
|
||||
|
||||
|
|
@ -82,6 +85,8 @@ public:
|
|||
|
||||
void destroyMonitorResources(CMonitor*);
|
||||
|
||||
void markBlurDirtyForMonitor(CMonitor*);
|
||||
|
||||
SCurrentRenderData m_RenderData;
|
||||
|
||||
GLint m_iCurrentOutputFb = 0;
|
||||
|
|
@ -127,6 +132,8 @@ private:
|
|||
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);
|
||||
|
||||
void preBlurForCurrentMonitor();
|
||||
};
|
||||
|
||||
inline std::unique_ptr<CHyprOpenGLImpl> g_pHyprOpenGL;
|
||||
Loading…
Add table
Add a link
Reference in a new issue