xine-lib: xine-lib-1.2.12/src/video_out/opengl/xine_gl_plugin.h Source File

xine-lib 1.2.12

xine_gl_plugin.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018-2019 the xine project
3 * Copyright (C) 2018-2019 Petri Hintukainen <phintuka@users.sourceforge.net>
4 *
5 * This file is part of xine, a free video player.
6 *
7 * xine is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * xine is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
20 *
21 * xine GL interface plugin:
22 * interface between OpenGL and native windowing system (GLX/EGL/WGL/Wayland/...)
23 *
24 * GL plugin API, used in GL provider plugins
25 */
26
27#ifndef XINE_GL_PLUGIN_H_
28#define XINE_GL_PLUGIN_H_
29
30#include <sys/types.h>
31
32#include <xine.h>
33#include <xine/xine_module.h>
34
35#include "xine_gl.h"
36
37#define GL_PLUGIN_TYPE "gl_v1"
38
39 typedef struct xine_gl_plugin_s xine_gl_plugin_t;
40
41 struct xine_gl_plugin_s {
42 xine_module_t module;
43 xine_gl_t gl;
44 xine_t *xine;
45};
46
47 typedef struct {
48 xine_t *xine;
49 unsigned visual_type;
50 const void *visual;
51 unsigned flags;
52} gl_plugin_params_t;
53
54#endif /* XINE_GL_PLUGIN_H_ */
gl_plugin_params_t
Definition: xine_gl_plugin.h:47
gl_plugin_params_t::visual_type
unsigned visual_type
Definition: xine_gl_plugin.h:49
gl_plugin_params_t::visual
const void * visual
Definition: xine_gl_plugin.h:50
gl_plugin_params_t::flags
unsigned flags
Definition: xine_gl_plugin.h:51
gl_plugin_params_t::xine
xine_t * xine
Definition: xine_gl_plugin.h:48
xine_gl_plugin_s
Definition: xine_gl_plugin.h:41
xine_gl_plugin_s::gl
xine_gl_t gl
Definition: xine_gl_plugin.h:43
xine_gl_plugin_s::module
xine_module_t module
Definition: xine_gl_plugin.h:42
xine_gl_plugin_s::xine
xine_t * xine
Definition: xine_gl_plugin.h:44
xine_gl
Definition: xine_gl.h:38
xine_module_s
Definition: xine_module.h:62
xine_s
Definition: xine_internal.h:80
xine.h
xine_gl.h
xine_module.h