core/compositor: revert make wl_surface::frame follow pending states (#11896)

This reverts commit 17e77e0407.

Reverted due to severe performance degradation due to accumulating frame
callbacks
This commit is contained in:
Vaxry 2025-10-06 23:44:47 +01:00
parent 02cda6bebf
commit dc72259a54
No known key found for this signature in database
GPG key ID: 665806380871D640
5 changed files with 49 additions and 95 deletions

View file

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