VLC
4.0.0-dev
|
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_gl_api_type { VLC_OPENGL, VLC_OPENGL_ES2 } |
This file defines GL structures and functions.
enum vlc_gl_api_type |
VLC_EXPORT vlc_gl_t* vlc_gl_Create | ( | const struct vout_display_cfg * | cfg, |
unsigned | flags, | ||
const char * | name | ||
) |
Creates an OpenGL context (and its underlying surface).
cfg | initial configuration (including window to use as OpenGL surface) |
flags | OpenGL context type |
name | module name (or NULL for auto) |
VLC_EXPORT vlc_gl_t* vlc_gl_CreateOffscreen | ( | vlc_object_t * | parent, |
struct vlc_decoder_device * | device, | ||
unsigned | width, | ||
unsigned | height, | ||
unsigned | flags, | ||
const char * | name | ||
) |
References vlc_gl_t::api_type, vlc_gl_t::device, vlc_gl_t::get_proc_address, vlc_gl_priv_t::gl, vlc_gl_t::make_current, vlc_gl_t::module, name, vlc_gl_t::offscreen_chroma_out, vlc_gl_t::offscreen_vctx_out, vlc_gl_t::offscreen_vflip, vlc_gl_priv_t::rc, vlc_gl_t::release_current, vlc_gl_t::surface, vlc_gl_t::swap_offscreen, unlikely, vlc_atomic_rc_init(), VLC_CODEC_UNKNOWN, vlc_custom_create, vlc_decoder_device_Hold(), vlc_gl_start(), vlc_module_load, vlc_object_delete, VLC_OPENGL, and VLC_OPENGL_ES2.
|
inlinestatic |
References vlc_gl_t::get_proc_address, and name.
VLC_EXPORT void vlc_gl_Hold | ( | vlc_gl_t * | ) |
References vlc_gl_priv_t::gl, vlc_gl_priv_t::rc, and vlc_atomic_rc_inc().
|
inlinestatic |
References vlc_gl_t::make_current.
VLC_EXPORT void vlc_gl_Release | ( | vlc_gl_t * | ) |
References vlc_gl_t::destroy, vlc_gl_priv_t::gl, vlc_gl_priv_t::rc, vlc_atomic_rc_dec(), VLC_OBJECT, vlc_object_delete, and vlc_objres_clear().
Referenced by vlc_gl_surface_Destroy().
|
inlinestatic |
References vlc_gl_t::release_current.
|
inlinestatic |
References vlc_gl_t::resize.
Referenced by vlc_gl_surface_CheckSize().
|
inlinestatic |
VLC_EXPORT bool vlc_gl_surface_CheckSize | ( | vlc_gl_t * | , |
unsigned * | w, | ||
unsigned * | h | ||
) |
VLC_EXPORT vlc_gl_t* vlc_gl_surface_Create | ( | vlc_object_t * | , |
const struct vout_window_cfg_t * | , | ||
struct vout_window_t ** | |||
) |
VLC_EXPORT void vlc_gl_surface_Destroy | ( | vlc_gl_t * | ) |
|
inlinestatic |
References vlc_gl_t::swap.
References vlc_gl_t::swap_offscreen.