GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
include
backends
gp_linux_drm.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: LGPL-2.1-or-later
2
/*
3
* Copyright (C) 2022 Cyril Hrubis <metan@ucw.cz>
4
*/
5
12
#ifndef BACKENDS_GP_LINUX_DRM_H
13
#define BACKENDS_GP_LINUX_DRM_H
14
15
#include <
backends/gp_backend.h
>
16
18
enum
gp_linux_drm_flags
{
20
GP_LINUX_DRM_NO_INPUT
= 0x01,
21
};
22
32
gp_backend
*
gp_linux_drm_init
(
const
char
*drm_path,
int
flags);
33
34
#endif
/* BACKENDS_GP_LINUX_DRM_H */
gp_backend.h
An abstraction for display, keyboard and mouse.
gp_linux_drm_flags
gp_linux_drm_flags
Linux DRM backend flags.
Definition
gp_linux_drm.h:18
GP_LINUX_DRM_NO_INPUT
@ GP_LINUX_DRM_NO_INPUT
Do not use linux input for keyboard and mouse.
Definition
gp_linux_drm.h:20
gp_linux_drm_init
gp_backend * gp_linux_drm_init(const char *drm_path, int flags)
A Linux DRM backend initialization.
gp_backend
A backend.
Definition
gp_backend.h:145
Generated by
1.9.8