This file defines GL structures and functions. More...
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). | |
Enumerations | |
| enum | { VLC_OPENGL, VLC_OPENGL_ES, VLC_OPENGL_ES2 } |
Functions | |
| VLC_API vlc_gl_t * | vlc_gl_Create (struct vout_window_t *, unsigned, const char *) VLC_USED |
| Creates an OpenGL context (and its underlying surface). | |
| VLC_API void | vlc_gl_Destroy (vlc_gl_t *) |
| static int | vlc_gl_MakeCurrent (vlc_gl_t *gl) |
| static int | vlc_gl_Lock (vlc_gl_t *gl) |
| static void | vlc_gl_Unlock (vlc_gl_t *gl) |
| static void | vlc_gl_Swap (vlc_gl_t *gl) |
| static void * | vlc_gl_GetProcAddress (vlc_gl_t *gl, const char *name) |
This file defines GL structures and functions.
| VLC_API 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) |
References vlc_gl_t::module, module_need, vlc_gl_t::surface, unlikely, vlc_custom_create, vlc_object_release, VLC_OPENGL, VLC_OPENGL_ES, and VLC_OPENGL_ES2.
| VLC_API void vlc_gl_Destroy | ( | vlc_gl_t * | ) |
References vlc_gl_t::module, module_unneed, and vlc_object_release.
| static void* vlc_gl_GetProcAddress | ( | vlc_gl_t * | gl, | |
| const char * | name | |||
| ) | [inline, static] |
References vlc_gl_t::getProcAddress.
| static int vlc_gl_Lock | ( | vlc_gl_t * | gl | ) | [inline, static] |
References vlc_gl_t::lock.
| static int vlc_gl_MakeCurrent | ( | vlc_gl_t * | gl | ) | [inline, static] |
| static void vlc_gl_Swap | ( | vlc_gl_t * | gl | ) | [inline, static] |
References vlc_gl_t::swap.
| static void vlc_gl_Unlock | ( | vlc_gl_t * | gl | ) | [inline, static] |
References vlc_gl_t::unlock.
1.7.1