GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_proxy.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2/*
3
4 Copyright (C) 2019-2020 Cyril Hrubis <metan@ucw.cz>
5
6 */
7
8/*
9 * Proxy backend allows to run an application in a different process while
10 * events are routed over socket and graphics is rendered into a shared memory.
11 * Apart from isolation this also allows multiplexing input device and screen
12 * between different applications on the top of another backend, e.g.
13 * framebuffer.
14 */
15
16#ifndef GP_PROXY_H
17#define GP_PROXY_H
18
19#include <backends/gp_backend.h>
20
21/*
22 * Initalize proxy backend.
23 *
24 * @path Path to an UNIX socket, pass NULL for default.
25 * @name Application name.
26 */
27gp_backend *gp_proxy_init(const char *path, const char *title);
28
29#endif /* GP_PROXY_H */