| 1 |
|
| 2 |
|
| 3 |
#pragma once |
| 4 |
|
| 5 |
#include <xcb/render.h> |
| 6 |
#include <xcb/xcb_image.h> |
| 7 |
|
| 8 |
#include <stdbool.h> |
| 9 |
|
| 10 |
#include "config.h" |
| 11 |
|
| 12 |
struct session; |
| 13 |
struct win; |
| 14 |
struct conv; |
| 15 |
struct backend_base; |
| 16 |
struct backend_operations; |
| 17 |
struct x_connection; |
| 18 |
|
| 19 |
struct dual_kawase_params { |
| 20 |
|
| 21 |
int iterations; |
| 22 |
|
| 23 |
float offset; |
| 24 |
|
| 25 |
int expand; |
| 26 |
}; |
| 27 |
|
| 28 |
uint8_t *make_shadow(struct x_connection *c, const conv *kernel, ivec2 window_size, |
| 29 |
ivec2 *out_shadow_size, int *out_shadow_stride); |
| 30 |
|
| 31 |
xcb_render_picture_t |
| 32 |
solid_picture(struct x_connection *, bool argb, double a, double r, double g, double b); |
| 33 |
|
| 34 |
void init_backend_base(struct backend_base *base, session_t *ps); |
| 35 |
|
| 36 |
struct conv **generate_blur_kernel(enum blur_method method, void *args, int *kernel_count); |
| 37 |
struct dual_kawase_params *generate_dual_kawase_params(void *args); |
| 38 |
|
| 39 |
uint32_t backend_no_quirks(struct backend_base *base attr_unused); |