aboutsummaryrefslogtreecommitdiff
path: root/src/render.h
diff options
context:
space:
mode:
authorallusive-dev <[email protected]>2023-09-19 17:46:20 +1000
committerallusive-dev <[email protected]>2023-09-19 17:46:20 +1000
commit5650d887357bf2a3fac8c5fd4f467bf8795b5fc4 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/render.h
parentUpdate picom.sample.conf (diff)
downloadcompfy-5650d887357bf2a3fac8c5fd4f467bf8795b5fc4.tar.xz
compfy-5650d887357bf2a3fac8c5fd4f467bf8795b5fc4.zip
reset
Diffstat (limited to 'src/render.h')
-rw-r--r--src/render.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/src/render.h b/src/render.h
deleted file mode 100644
index 95a46db..0000000
--- a/src/render.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// SPDX-License-Identifier: MPL-2.0
-// Copyright (c) Yuxuan Shui <[email protected]>
-#pragma once
-
-#include <stdbool.h>
-#include <xcb/render.h>
-#include <xcb/xcb.h>
-#ifdef CONFIG_OPENGL
-#include "backend/gl/glx.h"
-#endif
-#include "region.h"
-
-typedef struct _glx_texture glx_texture_t;
-typedef struct glx_prog_main glx_prog_main_t;
-typedef struct session session_t;
-
-struct managed_win;
-
-typedef struct paint {
- xcb_pixmap_t pixmap;
- xcb_render_picture_t pict;
- glx_texture_t *ptex;
-#ifdef CONFIG_OPENGL
- struct glx_fbconfig_info *fbcfg;
-#endif
-} paint_t;
-
-typedef struct clip {
- xcb_render_picture_t pict;
- int x;
- int y;
-} clip_t;
-
-void render(session_t *ps, int x, int y, int dx, int dy, int w, int h, int fullw,
- int fullh, double opacity, bool argb, bool neg, int cr,
- xcb_render_picture_t pict, glx_texture_t *ptex, const region_t *reg_paint,
- const glx_prog_main_t *pprogram, clip_t *clip);
-void paint_one(session_t *ps, struct managed_win *w, const region_t *reg_paint);
-
-void paint_all(session_t *ps, struct managed_win *const t, bool ignore_damage);
-
-void free_picture(xcb_connection_t *c, xcb_render_picture_t *p);
-
-void free_paint(session_t *ps, paint_t *ppaint);
-void free_root_tile(session_t *ps);
-
-bool init_render(session_t *ps);
-void deinit_render(session_t *ps);
-
-int maximum_buffer_age(session_t *);