Documentation:Modules/opengl
Jump to navigation
Jump to search
This module features conditional compilation: add_module monitors USE_OPENGL_ES2 to determine the [e]xtension through which to use the Open Graphics Library (OpenGL).
More simply, gl
is called for desktop computers and gles2
is called for embedded devices (e.g. smartphones).
Neither conditional module accepts options—add_glopts ()
is called in vout_helper.h for that purpose.
Contents
gles2
Module: gles2 | |
---|---|
Type | Video output |
First VLC version | 2.0.0 |
Last VLC version | - |
Operating system(s) | all |
Description | OpenGL for Embedded Systems 2 video output |
Shortcut(s) | opengles2 , gles2
|
gl
Module: gl | |
---|---|
Type | Video output |
First VLC version | 0.8.0 |
Last VLC version | - |
Operating system(s) | all |
Description | OpenGL video output |
Shortcut(s) | opengl , gl
|
OpenGL (as a plugin) was first introduced for the macOS port in VLC 0.7.1, made the default for macOS in VLC 0.7.2, and later added for all platforms in VLC 0.8.0.
Source code
- Git: modules/video_output/opengl/display.c (main file)
- Git: modules/video_output/opengl/vout_helper.h (OpenGL and OpenGL ES output common code)
- Doxygen: include/vlc_opengl.h
- Doxygen: include/vlc_opengl.c
- Doxygen: include/vlc_vout_display.h
See also
External links
- opengl.org
- www.khronos.org/opengles - developer page for OpenGL ES
- Wikibook: OpenGL Programming
- chapter OpenGL ES Overview
This page is part of official VLC media player Documentation (User Guide • Streaming HowTo • Hacker Guide • Modules)
Please read the Documentation Editing Guidelines before you edit the documentation
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.