xine-lib: xine-lib-1.2.13/src/video_out/opengl/xine_gl.c File Reference

xine-lib 1.2.13-20230125hg15249

Macros | Functions
xine_gl.c File Reference
`#include "xine_gl.h"`
`#include "xine_gl_plugin.h"`
`#include <stddef.h>`
`#include <xine/xine_internal.h>`

## Macros
#define | PLUGIN(_gl) xine_container_of(_gl, xine_gl_plugin_t, gl)

## Functions
static void | default_gl_dispose (xine_gl_t **pgl)
xine_gl_t * | _x_load_gl (xine_t *xine, unsigned visual_type, const void *visual, unsigned flags)

## Macro Definition Documentation

## ◆ PLUGIN

#define PLUGIN | ( |  | _gl | ) | xine_container_of(_gl, xine_gl_plugin_t, gl)

Referenced by default_gl_dispose().

## Function Documentation

## ◆ _x_load_gl()

xine_gl_t * _x_load_gl | ( | xine_t * | xine,
|  | unsigned | visual_type,
|  | const void * | visual,
|  | unsigned | flags )

References _x_find_module(), default_gl_dispose(), xine_gl::dispose, xine_gl_plugin_s::gl, GL_PLUGIN_TYPE, NULL, and gl_plugin_params_t::xine.

Referenced by opengl2_check_platform(), and opengl2_open_plugin().

## ◆ default_gl_dispose()

static void default_gl_dispose | ( | xine_gl_t ** | pgl | ) |
| static

References _x_free_module(), xine_gl_plugin_s::module, NULL, PLUGIN, and xine_gl_plugin_s::xine.

Referenced by _x_load_gl().