Debian Codegraph @

src/renderer/renderer.h

raw symbols SCIP
1 // SPDX-License-Identifier: MPL-2.0
2 // Copyright (c) Yuxuan Shui <[email protected]>
3
4 #pragma once
5 #include <stdbool.h>
6 #include <xcb/sync.h>
7
8 #include <picom/types.h>
9
10 struct renderer;
11 struct layout_manager;
12 struct backend_base;
13 struct command_builder;
14 struct shader_info;
15 typedef struct image_handle *image_handle;
16 struct x_monitors;
17 struct wm;
18 struct win_option;
19 typedef struct pixman_region32 region_t;
20 typedef struct pixman_box32 rect_t;
21
22 void renderer_free(struct backend_base *backend, struct renderer *r);
23 struct renderer *
24 renderer_new(struct backend_base *backend, double shadow_radius, bool dithered_present);
25 bool renderer_render(struct renderer *r, struct backend_base *backend,
26 image_handle root_image, const rect_t *root_image_extent,
27 struct layout_manager *lm, struct command_builder *cb,
28 void *blur_context, uint64_t render_start_us,
29 xcb_sync_fence_t xsync_fence, bool use_damage, bool monitor_repaint,
30 bool force_blend, bool blur_frame, bool inactive_dim_fixed,
31 double max_brightness, const struct x_monitors *monitors,
32 const struct shader_info *root_pixmap_shader,
33 const struct shader_info *shaders, uint64_t *after_damage_us);