Skip to content

Commit

Permalink
backend/xrender: always set the slow blur quirk
Browse files Browse the repository at this point in the history
a (hopefully temporary) workaround for #1349.
  • Loading branch information
absolutelynothelix committed Nov 6, 2024
1 parent e6bf014 commit 106123e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/backend/xrender/xrender.c
Original file line number Diff line number Diff line change
Expand Up @@ -941,12 +941,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:
Expand Down

0 comments on commit 106123e

Please sign in to comment.