| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <stdbool.h> |
| 7 |
|
| 8 |
struct command_builder; |
| 9 |
struct backend_command; |
| 10 |
struct layout; |
| 11 |
struct x_monitors; |
| 12 |
struct win_option; |
| 13 |
struct shader_info; |
| 14 |
typedef struct image_handle *image_handle; |
| 15 |
typedef struct pixman_box32 rect_t; |
| 16 |
|
| 17 |
struct command_builder *command_builder_new(void); |
| 18 |
void command_builder_free(struct command_builder *); |
| 19 |
|
| 20 |
void command_builder_command_list_free(struct backend_command *cmds); |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
void command_builder_build(struct command_builder *cb, struct layout *layout, |
| 30 |
bool force_blend, bool blur_frame, bool inactive_dim_fixed, |
| 31 |
double max_brightness, const struct x_monitors *monitors, |
| 32 |
image_handle root_image, const rect_t *root_image_extent, |
| 33 |
const struct shader_info *root_pixmap_shader, |
| 34 |
const struct shader_info *shaders); |