Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
e83fa9c2
Commit
e83fa9c2
authored
Oct 13, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vout: remove no longer used VOUT_DISPLAY_GET_OPENGL
parent
bc9b4ca6
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1 addition
and
48 deletions
+1
-48
include/vlc_vout_display.h
include/vlc_vout_display.h
+0
-3
include/vlc_vout_wrapper.h
include/vlc_vout_wrapper.h
+0
-3
modules/video_output/gl.c
modules/video_output/gl.c
+0
-9
modules/video_output/msw/glwin32.c
modules/video_output/msw/glwin32.c
+1
-17
modules/video_output/xcb/glx.c
modules/video_output/xcb/glx.c
+0
-7
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/video_output/display.c
src/video_output/display.c
+0
-8
No files found.
include/vlc_vout_display.h
View file @
e83fa9c2
...
...
@@ -170,9 +170,6 @@ enum {
* The cropping requested is stored by video_format_t::i_x/y_offset and
* video_format_t::i_visible_width/height */
VOUT_DISPLAY_CHANGE_SOURCE_CROP
,
/* const video_format_t *p_source */
/* Ask an opengl interface if available. */
VOUT_DISPLAY_GET_OPENGL
,
/* vlc_gl_t ** */
};
/**
...
...
include/vlc_vout_wrapper.h
View file @
e83fa9c2
...
...
@@ -92,8 +92,5 @@ VLC_API void vout_SetDisplayZoom(vout_display_t *, unsigned num, unsigned den);
VLC_API
void
vout_SetDisplayAspect
(
vout_display_t
*
,
unsigned
dar_num
,
unsigned
dar_den
);
VLC_API
void
vout_SetDisplayCrop
(
vout_display_t
*
,
unsigned
crop_num
,
unsigned
crop_den
,
unsigned
left
,
unsigned
top
,
int
right
,
int
bottom
);
struct
vlc_gl_t
;
VLC_API
struct
vlc_gl_t
*
vout_GetDisplayOpengl
(
vout_display_t
*
);
#endif
/* VLC_VOUT_WRAPPER_H */
modules/video_output/gl.c
View file @
e83fa9c2
...
...
@@ -267,15 +267,6 @@ static int Control (vout_display_t *vd, int query, va_list ap)
vlc_gl_ReleaseCurrent
(
sys
->
gl
);
return
VLC_SUCCESS
;
}
#if !USE_OPENGL_ES
case
VOUT_DISPLAY_GET_OPENGL
:
{
vlc_gl_t
**
pgl
=
va_arg
(
ap
,
vlc_gl_t
**
);
*
pgl
=
sys
->
gl
;
return
VLC_SUCCESS
;
}
#endif
default:
msg_Err
(
vd
,
"Unknown request %d"
,
query
);
}
...
...
modules/video_output/msw/glwin32.c
View file @
e83fa9c2
...
...
@@ -63,7 +63,6 @@ vlc_module_end()
static
picture_pool_t
*
Pool
(
vout_display_t
*
,
unsigned
);
static
void
Prepare
(
vout_display_t
*
,
picture_t
*
,
subpicture_t
*
);
static
void
Display
(
vout_display_t
*
,
picture_t
*
,
subpicture_t
*
);
static
int
Control
(
vout_display_t
*
,
int
,
va_list
);
static
void
Manage
(
vout_display_t
*
);
static
void
Swap
(
vlc_gl_t
*
);
...
...
@@ -230,7 +229,7 @@ static int Open(vlc_object_t *object)
vd
->
pool
=
Pool
;
vd
->
prepare
=
Prepare
;
vd
->
display
=
Display
;
vd
->
control
=
Control
;
vd
->
control
=
Co
mmonCo
ntrol
;
vd
->
manage
=
Manage
;
return
VLC_SUCCESS
;
...
...
@@ -294,21 +293,6 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
CommonDisplay
(
vd
);
}
static
int
Control
(
vout_display_t
*
vd
,
int
query
,
va_list
args
)
{
switch
(
query
)
{
case
VOUT_DISPLAY_GET_OPENGL
:
{
vlc_gl_t
**
gl
=
va_arg
(
args
,
vlc_gl_t
**
);
*
gl
=
&
vd
->
sys
->
gl
;
CommonDisplay
(
vd
);
return
VLC_SUCCESS
;
}
default:
return
CommonControl
(
vd
,
query
,
args
);
}
}
static
void
Manage
(
vout_display_t
*
vd
)
{
vout_display_sys_t
*
sys
=
vd
->
sys
;
...
...
modules/video_output/xcb/glx.c
View file @
e83fa9c2
...
...
@@ -247,13 +247,6 @@ static int Control (vout_display_t *vd, int query, va_list ap)
xcb_flush
(
sys
->
conn
);
return
VLC_SUCCESS
;
case
VOUT_DISPLAY_GET_OPENGL
:
{
vlc_gl_t
**
gl
=
va_arg
(
ap
,
vlc_gl_t
**
);
*
gl
=
sys
->
gl
;
return
VLC_SUCCESS
;
}
case
VOUT_DISPLAY_RESET_PICTURES
:
assert
(
0
);
default:
...
...
src/libvlccore.sym
View file @
e83fa9c2
...
...
@@ -637,7 +637,6 @@ vout_AreDisplayPicturesInvalid
vout_IsDisplayFiltered
vout_FilterDisplay
vout_ManageDisplay
vout_GetDisplayOpengl
vout_SetDisplayFullscreen
vout_SetDisplayFilled
vout_SetDisplayZoom
...
...
src/video_output/display.c
View file @
e83fa9c2
...
...
@@ -1270,14 +1270,6 @@ void vout_SetDisplayCrop(vout_display_t *vd,
}
}
struct
vlc_gl_t
*
vout_GetDisplayOpengl
(
vout_display_t
*
vd
)
{
struct
vlc_gl_t
*
gl
;
if
(
vout_display_Control
(
vd
,
VOUT_DISPLAY_GET_OPENGL
,
&
gl
))
return
NULL
;
return
gl
;
}
static
vout_display_t
*
DisplayNew
(
vout_thread_t
*
vout
,
const
video_format_t
*
source
,
const
vout_display_state_t
*
state
,
...
...
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