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:
parent
02cda6bebf
commit
dc72259a54
5 changed files with 49 additions and 95 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue