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
0772a4cf
Commit
0772a4cf
authored
May 29, 2011
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extended vout_display_opengl_Prepare() with a subpicture_t parameter.
It is not yet used.
parent
10e55d6d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
12 deletions
+8
-12
modules/video_output/gl.c
modules/video_output/gl.c
+1
-2
modules/video_output/ios.m
modules/video_output/ios.m
+1
-2
modules/video_output/macosx.m
modules/video_output/macosx.m
+1
-2
modules/video_output/msw/glwin32.c
modules/video_output/msw/glwin32.c
+1
-2
modules/video_output/opengl.c
modules/video_output/opengl.c
+2
-1
modules/video_output/opengl.h
modules/video_output/opengl.h
+1
-1
modules/video_output/xcb/glx.c
modules/video_output/xcb/glx.c
+1
-2
No files found.
modules/video_output/gl.c
View file @
0772a4cf
...
...
@@ -190,8 +190,7 @@ static void PictureRender (vout_display_t *vd, picture_t *pic, subpicture_t *sub
{
vout_display_sys_t
*
sys
=
vd
->
sys
;
vout_display_opengl_Prepare
(
sys
->
vgl
,
pic
);
(
void
)
subpicture
;
vout_display_opengl_Prepare
(
sys
->
vgl
,
pic
,
subpicture
);
}
static
void
PictureDisplay
(
vout_display_t
*
vd
,
picture_t
*
pic
,
subpicture_t
*
subpicture
)
...
...
modules/video_output/ios.m
View file @
0772a4cf
...
...
@@ -221,8 +221,7 @@ static void PictureRender(vout_display_t *vd, picture_t *pic, subpicture_t *subp
{
vout_display_sys_t
*
sys
=
vd
->
sys
;
vout_display_opengl_Prepare
(
sys
->
vgl
,
pic
);
(
void
)
subpicture
;
vout_display_opengl_Prepare
(
sys
->
vgl
,
pic
,
subpicture
);
}
static
void
PictureDisplay
(
vout_display_t
*
vd
,
picture_t
*
pic
,
subpicture_t
*
subpicture
)
...
...
modules/video_output/macosx.m
View file @
0772a4cf
...
...
@@ -267,8 +267,7 @@ static void PictureRender(vout_display_t *vd, picture_t *pic, subpicture_t *subp
vout_display_sys_t
*
sys
=
vd
->
sys
;
vout_display_opengl_Prepare
(
sys
->
vgl
,
pic
);
(
void
)
subpicture
;
vout_display_opengl_Prepare
(
sys
->
vgl
,
pic
,
subpicture
);
}
static
void
PictureDisplay
(
vout_display_t
*
vd
,
picture_t
*
pic
,
subpicture_t
*
subpicture
)
...
...
modules/video_output/msw/glwin32.c
View file @
0772a4cf
...
...
@@ -180,8 +180,7 @@ static void Prepare(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
{
vout_display_sys_t
*
sys
=
vd
->
sys
;
vout_display_opengl_Prepare
(
sys
->
vgl
,
picture
);
VLC_UNUSED
(
subpicture
);
vout_display_opengl_Prepare
(
sys
->
vgl
,
picture
,
subpicture
);
}
static
void
Display
(
vout_display_t
*
vd
,
picture_t
*
picture
,
subpicture_t
*
subpicture
)
...
...
modules/video_output/opengl.c
View file @
0772a4cf
...
...
@@ -485,7 +485,7 @@ error:
}
int
vout_display_opengl_Prepare
(
vout_display_opengl_t
*
vgl
,
picture_t
*
picture
)
picture_t
*
picture
,
subpicture_t
*
subpicture
)
{
/* On Win32/GLX, we do this the usual way:
+ Fill the buffer with new content,
...
...
@@ -524,6 +524,7 @@ int vout_display_opengl_Prepare(vout_display_opengl_t *vgl,
#endif
vlc_gl_Unlock
(
vgl
->
gl
);
VLC_UNUSED
(
subpicture
);
return
VLC_SUCCESS
;
}
...
...
modules/video_output/opengl.h
View file @
0772a4cf
...
...
@@ -61,6 +61,6 @@ void vout_display_opengl_Delete(vout_display_opengl_t *vgl);
picture_pool_t
*
vout_display_opengl_GetPool
(
vout_display_opengl_t
*
vgl
,
unsigned
);
int
vout_display_opengl_Prepare
(
vout_display_opengl_t
*
vgl
,
picture_t
*
picture
);
picture_t
*
picture
,
subpicture_t
*
subpicture
);
int
vout_display_opengl_Display
(
vout_display_opengl_t
*
vgl
,
const
video_format_t
*
source
);
modules/video_output/xcb/glx.c
View file @
0772a4cf
...
...
@@ -468,8 +468,7 @@ static void PictureRender (vout_display_t *vd, picture_t *pic, subpicture_t *sub
{
vout_display_sys_t
*
sys
=
vd
->
sys
;
vout_display_opengl_Prepare
(
sys
->
vgl
,
pic
);
(
void
)
subpicture
;
vout_display_opengl_Prepare
(
sys
->
vgl
,
pic
,
subpicture
);
}
static
void
PictureDisplay
(
vout_display_t
*
vd
,
picture_t
*
pic
,
subpicture_t
*
subpicture
)
...
...
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