mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-10-12 13:05:58 +00:00
renderer: some fixes for renderModif
This commit is contained in:
@@ -47,6 +47,10 @@ struct SRenderModifData {
|
||||
std::vector<std::pair<eRenderModifType, std::any>> modifs;
|
||||
|
||||
void applyToBox(CBox& box);
|
||||
void applyToRegion(CRegion& rg);
|
||||
float combinedScale();
|
||||
|
||||
bool enabled = true;
|
||||
};
|
||||
|
||||
struct SGLPixelFormat {
|
||||
@@ -138,6 +142,7 @@ class CHyprOpenGLImpl {
|
||||
void renderTextureMatte(const CTexture& tex, CBox* pBox, CFramebuffer& matte);
|
||||
|
||||
void setMonitorTransformEnabled(bool enabled);
|
||||
void setRenderModifEnabled(bool enabled);
|
||||
|
||||
void saveMatrix();
|
||||
void setMatrixScaleTranslate(const Vector2D& translate, const float& scale);
|
||||
|
||||
Reference in New Issue
Block a user