Documentation:Modules/opengl

From VideoLAN Wiki
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

  • opengl
  • glwin32 - module for Windows 32-bit OpenGL
  • glx - module for Linux X11 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.