Trying to make the code easier to understand. The logic is unchanged. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
And fixes some warnings. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
They're shorter and more portable. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Moved: * Blur kernel related functions to kernel.c * Vsync related functions to vsync.c * paint related functions to render.c This will make the `split-backend` branch easier to rebase. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>