GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Functions
gp_proxy.h File Reference

A proxy backend. More...

#include <backends/gp_backend.h>

Go to the source code of this file.

Functions

gp_backendgp_proxy_init (const char *path, const char *title)
 Connects to a proxy backend.
 

Detailed Description

A proxy backend.

Proxy backend allows to run an application in a different process while events are routed over socket and graphics is rendered into a shared memory.

Apart from isolation this also allows multiplexing input device and screen between different applications on the top of another backend, e.g. DRM or a Framebuffer.

Definition in file gp_proxy.h.

Function Documentation

◆ gp_proxy_init()

gp_backend * gp_proxy_init ( const char *  path,
const char *  title 
)

Connects to a proxy backend.

Conects to a proxy backend and returns a backend handle.

Parameters
pathPath to an UNIX socket, pass NULL for default.
nameAn application name.