|
VLC
3.0.15
|

Go to the source code of this file.
Data Structures | |
| struct | vlc_gl_t |
Typedefs | |
| typedef struct vlc_gl_t | vlc_gl_t |
| A VLC GL context (and its underlying surface) More... | |
Enumerations | |
| enum | { VLC_OPENGL, VLC_OPENGL_ES2 } |
Functions | |
| vlc_gl_t * | vlc_gl_Create (struct vout_window_t *, unsigned, const char *) |
| Creates an OpenGL context (and its underlying surface). More... | |
| void | vlc_gl_Release (vlc_gl_t *) |
| void | vlc_gl_Hold (vlc_gl_t *) |
| static int | vlc_gl_MakeCurrent (vlc_gl_t *gl) |
| static void | vlc_gl_ReleaseCurrent (vlc_gl_t *gl) |
| static void | vlc_gl_Resize (vlc_gl_t *gl, unsigned w, unsigned h) |
| static void | vlc_gl_Swap (vlc_gl_t *gl) |
| static void * | vlc_gl_GetProcAddress (vlc_gl_t *gl, const char *name) |
| vlc_gl_t * | vlc_gl_surface_Create (vlc_object_t *, const struct vout_window_cfg_t *, struct vout_window_t **) |
| bool | vlc_gl_surface_CheckSize (vlc_gl_t *, unsigned *w, unsigned *h) |
| void | vlc_gl_surface_Destroy (vlc_gl_t *) |
This file defines GL structures and functions.
| vlc_gl_t* vlc_gl_Create | ( | struct vout_window_t * | wnd, |
| unsigned | flags, | ||
| const char * | name | ||
| ) |
Creates an OpenGL context (and its underlying surface).
| wnd | window to use as OpenGL surface |
| flags | OpenGL context type |
| name | module name (or NULL for auto) |
Referenced by vlc_gl_surface_Create().
|
inlinestatic |
References vlc_gl_t::getProcAddress, and name.
| void vlc_gl_Hold | ( | vlc_gl_t * | ) |
References vlc_gl_priv_t::gl, and vlc_gl_priv_t::ref_count.
|
inlinestatic |
References vlc_gl_t::makeCurrent.
| void vlc_gl_Release | ( | vlc_gl_t * | ) |
References vlc_gl_priv_t::gl, vlc_gl_t::module, module_unneed, vlc_gl_priv_t::ref_count, and vlc_object_release.
Referenced by vlc_gl_surface_Destroy().
|
inlinestatic |
References vlc_gl_t::releaseCurrent.
|
inlinestatic |
References vlc_gl_t::resize.
Referenced by vlc_gl_surface_CheckSize(), and vlc_gl_surface_Create().
| bool vlc_gl_surface_CheckSize | ( | vlc_gl_t * | , |
| unsigned * | w, | ||
| unsigned * | h | ||
| ) |
| vlc_gl_t* vlc_gl_surface_Create | ( | vlc_object_t * | , |
| const struct vout_window_cfg_t * | , | ||
| struct vout_window_t ** | |||
| ) |
| void vlc_gl_surface_Destroy | ( | vlc_gl_t * | ) |
|
inlinestatic |
References vlc_gl_t::swap.
1.8.16