Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a51b9608
Commit
a51b9608
authored
Dec 06, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added vout_opengl_t definitions.
parent
5fb806bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
0 deletions
+62
-0
include/vlc_vout_opengl.h
include/vlc_vout_opengl.h
+61
-0
src/Makefile.am
src/Makefile.am
+1
-0
No files found.
include/vlc_vout_opengl.h
0 → 100644
View file @
a51b9608
/*****************************************************************************
* vlc_vout_opengl.h: vout_opengl_t definitions
*****************************************************************************
* Copyright (C) 2009 Laurent Aimar
* $Id$
*
* Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
*
* This program is free software; you can redistribute it and/or modify
* it 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.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef VLC_VOUT_OPENGL_H
#define VLC_VOUT_OPENGL_H 1
/**
* \file
* This file defines vout opengl structures and functions in vlc
*/
#include <vlc_common.h>
typedef
struct
vout_opengl_t
vout_opengl_t
;
struct
vout_opengl_t
{
/* */
int
(
*
lock
)(
vout_opengl_t
*
);
void
(
*
swap
)(
vout_opengl_t
*
);
void
(
*
unlock
)(
vout_opengl_t
*
);
/* */
void
*
sys
;
};
static
inline
int
vout_opengl_Lock
(
vout_opengl_t
*
gl
)
{
if
(
!
gl
->
lock
)
return
VLC_SUCCESS
;
return
gl
->
lock
(
gl
);
}
static
inline
void
vout_opengl_Unlock
(
vout_opengl_t
*
gl
)
{
if
(
gl
->
unlock
)
gl
->
unlock
(
gl
);
}
static
inline
void
vout_opengl_Swap
(
vout_opengl_t
*
gl
)
{
gl
->
swap
(
gl
);
}
#endif
/* VLC_VOUT_OPENGL_H */
src/Makefile.am
View file @
a51b9608
...
@@ -102,6 +102,7 @@ pluginsinclude_HEADERS = \
...
@@ -102,6 +102,7 @@ pluginsinclude_HEADERS = \
../include/vlc_video_splitter.h
\
../include/vlc_video_splitter.h
\
../include/vlc_vout.h
\
../include/vlc_vout.h
\
../include/vlc_vout_display.h
\
../include/vlc_vout_display.h
\
../include/vlc_vout_opengl.h
\
../include/vlc_vout_window.h
\
../include/vlc_vout_window.h
\
../include/vlc_xml.h
\
../include/vlc_xml.h
\
$(NULL)
$(NULL)
...
...
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