picom/src/backend
Yuxuan Shui de209fd52c
backend: gl: fix x_rect_to_coords when y_inverted is false
Since image_dst is in X coordinates, after flipping Y, we need to
subtract the height of the drawing area, to make it the bottom right
corner for OpenGL.

However, this breaks blur. Because we assumed the drawing area is the
same size as the texture, which is not the case for blur. So add the
height of the drawing area as another parameter.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2022-08-26 05:43:12 +01:00
..
dummy backend: give backends more flexibility regarding shadow creation 2022-08-26 05:42:51 +01:00
gl backend: gl: fix x_rect_to_coords when y_inverted is false 2022-08-26 05:43:12 +01:00
xrender backend: give backends more flexibility regarding shadow creation 2022-08-26 05:42:51 +01:00
backend.c backend: add mask parameter to blur 2022-08-25 02:59:01 +01:00
backend.h backend: give backends more flexibility regarding shadow creation 2022-08-26 05:42:51 +01:00
backend_common.c backend: give backends more flexibility regarding shadow creation 2022-08-26 05:42:51 +01:00
backend_common.h backend: give backends more flexibility regarding shadow creation 2022-08-26 05:42:51 +01:00
driver.c Set GL_MaxFramesAllowed=1 instead of GL_YIELD=usleep 2021-07-10 18:14:20 -04:00
driver.h diagnostics: improve driver printing 2020-08-25 06:54:10 +01:00
meson.build backend: gl: split code into multiple files 2022-08-25 13:31:54 +01:00