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:
parent
ead088c6fa
commit
dc9009df8b
1 changed files with 1 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue