Documentation:Modules/opengl

From VideoLAN Wiki
< Documentation:Modules
Revision as of 07:44, 20 May 2019 by DoesItReallyMatter (talk | contribs) (Create page marked up/adapted from source code/changelog)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

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

See also

  • glx - module for Linux X11 OpenGL
  • glwin32 - module for Windows 32-bit OpenGL

External links

This page is part of official VLC media player Documentation (User GuideStreaming HowToHacker GuideModules)
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.