summaryrefslogtreecommitdiff
path: root/src/render/Texture.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-10-06 23:44:47 +0100
committerVaxry <vaxry@vaxry.net>2025-10-06 23:44:47 +0100
commitdc72259a5443116e892c49e37552ca5f82525ca6 (patch)
treea5a5b41ea5111564eba17a6b1262352550f53857 /src/render/Texture.cpp
parent02cda6bebf327e85c8b238961ce0514a66b92709 (diff)
core/compositor: revert make wl_surface::frame follow pending states (#11896)
This reverts commit 17e77e0407bebd5d24521012ee1d04b156d6b9f4. Reverted due to severe performance degradation due to accumulating frame callbacks
Diffstat (limited to 'src/render/Texture.cpp')
-rw-r--r--src/render/Texture.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/render/Texture.cpp b/src/render/Texture.cpp
index 17c416c7..b9797751 100644
--- a/src/render/Texture.cpp
+++ b/src/render/Texture.cpp
@@ -111,9 +111,6 @@ void CTexture::createFromDma(const Aquamarine::SDMABUFAttrs& attrs, void* image)
}
void CTexture::update(uint32_t drmFormat, uint8_t* pixels, uint32_t stride, const CRegion& damage) {
- if (damage.empty())
- return;
-
g_pHyprRenderer->makeEGLCurrent();
const auto format = NFormatUtils::getPixelFormatFromDRM(drmFormat);