diff options
| author | UjinT34 <41110182+UjinT34@users.noreply.github.com> | 2025-12-27 20:01:46 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-27 18:01:46 +0100 |
| commit | 6d3b17ee832411f627d8bed6b74e09b4fa55e2fb (patch) | |
| tree | 2931b419655ae44740973a689b4defa58b713334 /src/render/OpenGL.hpp | |
| parent | 42447a50d6840c5e28bd58db1225bae2fd7d5ed0 (diff) | |
render/cm: various updates, remove old protocols (#12693)
* fix named primaries
* default to gamma22
* mark mastering primaries as supported
* remove xx-cm and frog support
* immutable primaries and image descriptions
* clang-format
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 855a9439..e71429b7 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -403,9 +403,9 @@ class CHyprOpenGLImpl { CFramebuffer* blurMainFramebufferWithDamage(float a, CRegion* damage); CFramebuffer* blurFramebufferWithDamage(float a, CRegion* damage, CFramebuffer& source); - void passCMUniforms(SShader&, const NColorManagement::SImageDescription& imageDescription, const NColorManagement::SImageDescription& targetImageDescription, + void passCMUniforms(SShader&, const NColorManagement::PImageDescription imageDescription, const NColorManagement::PImageDescription targetImageDescription, bool modifySDR = false, float sdrMinLuminance = -1.0f, int sdrMaxLuminance = -1); - void passCMUniforms(SShader&, const NColorManagement::SImageDescription& imageDescription); + void passCMUniforms(SShader&, const NColorManagement::PImageDescription imageDescription); void renderTexturePrimitive(SP<CTexture> tex, const CBox& box); void renderSplash(cairo_t* const, cairo_surface_t* const, double offset, const Vector2D& size); void renderRectInternal(const CBox&, const CHyprColor&, const SRectRenderData& data); |
