Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
716cd870
Commit
716cd870
authored
Aug 05, 2004
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build the opengl module on OS X (gl provider not done yet)
parent
0e949ba4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
9 deletions
+20
-9
configure.ac
configure.ac
+15
-9
modules/video_output/opengl.c
modules/video_output/opengl.c
+5
-0
No files found.
configure.ac
View file @
716cd870
...
...
@@ -2564,12 +2564,13 @@ if test "${enable_xvideo}" != "no" &&
fi
dnl
dnl
GLX
module
dnl (enabled by default except on
win32
)
dnl
OpenGL
module
dnl (enabled by default except on
beos
)
dnl
AC_ARG_ENABLE(opengl,
[ --enable-opengl OpenGL support (default enabled)])
if test "${enable_opengl}" != "no" && test "${SYS}" != "beos"; then
if test "${SYS}" != "darwin"; then
AC_CHECK_HEADERS(GL/gl.h, [
VLC_ADD_PLUGINS([opengl])
if test "${SYS}" != "mingw32"; then
...
...
@@ -2578,6 +2579,11 @@ if test "${enable_opengl}" != "no" && test "${SYS}" != "beos"; then
VLC_ADD_LDFLAGS([opengl],[-lopengl32])
fi
])
else
dnl OS X special case (no GL/gl.h but OpenGL/gl.h)
VLC_ADD_PLUGINS([opengl])
VLC_ADD_LDFLAGS([opengl],[-framework OpenGL])
fi
fi
dnl
...
...
modules/video_output/opengl.c
View file @
716cd870
...
...
@@ -32,7 +32,12 @@
#include <vlc/vlc.h>
#include <vlc/vout.h>
#ifndef SYS_DARWIN
#include <GL/gl.h>
#else
/* Mac OS X < 10.3 does not have GL/gl.h */
#include <OpenGL/gl.h>
#endif
/* RV16 */
#ifndef GL_UNSIGNED_SHORT_5_6_5
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment