1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-04-21 18:03:02 -04:00

backend/xrender: always set the slow blur quirk

a (hopefully temporary) workaround for #1349.
This commit is contained in:
Maxim Solovyov 2024-11-06 21:46:07 +03:00 committed by Yuxuan Shui
parent ead088c6fa
commit dc9009df8b
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4

View file

@ -956,12 +956,7 @@ static backend_t *xrender_init(session_t *ps, xcb_window_t target) {
xd->curr_back = 0;
xd->back_image.pict = xd->vsync ? xd->back[xd->curr_back] : xd->target;
auto drivers = detect_driver(xd->base.c->c, &xd->base, xd->target_win);
if (drivers & (DRIVER_MODESETTING | DRIVER_NVIDIA | DRIVER_NOUVEAU |
DRIVER_AMDGPU | DRIVER_RADEON | DRIVER_FGLRX)) {
// I believe xf86-video-intel have accelerated convolution?
xd->quirks |= BACKEND_QUIRK_SLOW_BLUR;
}
xd->quirks |= BACKEND_QUIRK_SLOW_BLUR;
return &xd->base;
err: