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
e17db4e3
Commit
e17db4e3
authored
Sep 14, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split out non events code into common.c
parent
7235303a
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
537 additions
and
459 deletions
+537
-459
modules/video_output/msw/Modules.am
modules/video_output/msw/Modules.am
+5
-0
modules/video_output/msw/common.c
modules/video_output/msw/common.c
+518
-0
modules/video_output/msw/direct3d.c
modules/video_output/msw/direct3d.c
+1
-0
modules/video_output/msw/directx.c
modules/video_output/msw/directx.c
+1
-0
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+2
-456
modules/video_output/msw/glwin32.c
modules/video_output/msw/glwin32.c
+1
-0
modules/video_output/msw/vout.h
modules/video_output/msw/vout.h
+8
-3
modules/video_output/msw/wingdi.c
modules/video_output/msw/wingdi.c
+1
-0
No files found.
modules/video_output/msw/Modules.am
View file @
e17db4e3
...
...
@@ -2,28 +2,33 @@ SOURCES_directx = \
directx.c \
vout.h \
events.c \
common.c \
$(NULL)
SOURCES_direct3d = \
direct3d.c \
vout.h \
events.c \
common.c \
$(NULL)
SOURCES_glwin32 = \
glwin32.c \
vout.h \
events.c \
common.c \
$(NULL)
SOURCES_wingdi = \
wingdi.c \
vout.h \
events.c \
common.c \
$(NULL)
SOURCES_wingapi = \
wingdi.c \
vout.h \
events.c \
common.c \
$(NULL)
modules/video_output/msw/common.c
0 → 100644
View file @
e17db4e3
This diff is collapsed.
Click to expand it.
modules/video_output/msw/direct3d.c
View file @
e17db4e3
...
...
@@ -192,6 +192,7 @@ static int OpenVideo( vlc_object_t *p_this )
p_vout
->
pf_manage
=
Manage
;
p_vout
->
pf_render
=
Direct3DVoutRenderScene
;
p_vout
->
pf_display
=
FirstDisplay
;
p_vout
->
pf_control
=
Control
;
p_vout
->
p_sys
->
hwnd
=
p_vout
->
p_sys
->
hvideownd
=
NULL
;
p_vout
->
p_sys
->
hparent
=
p_vout
->
p_sys
->
hfswnd
=
NULL
;
...
...
modules/video_output/msw/directx.c
View file @
e17db4e3
...
...
@@ -225,6 +225,7 @@ static int OpenVideo( vlc_object_t *p_this )
p_vout
->
pf_manage
=
Manage
;
p_vout
->
pf_render
=
NULL
;
p_vout
->
pf_display
=
FirstDisplay
;
p_vout
->
pf_control
=
Control
;
p_vout
->
p_sys
->
p_ddobject
=
NULL
;
p_vout
->
p_sys
->
p_display
=
NULL
;
...
...
modules/video_output/msw/events.c
View file @
e17db4e3
This diff is collapsed.
Click to expand it.
modules/video_output/msw/glwin32.c
View file @
e17db4e3
...
...
@@ -102,6 +102,7 @@ static int OpenVideo( vlc_object_t *p_this )
p_vout
->
pf_end
=
End
;
p_vout
->
pf_manage
=
Manage
;
p_vout
->
pf_swap
=
FirstSwap
;
p_vout
->
pf_control
=
Control
;
p_vout
->
p_sys
->
hwnd
=
p_vout
->
p_sys
->
hvideownd
=
NULL
;
p_vout
->
p_sys
->
hparent
=
p_vout
->
p_sys
->
hfswnd
=
NULL
;
...
...
modules/video_output/msw/vout.h
View file @
e17db4e3
...
...
@@ -256,15 +256,20 @@ int DirectDrawUpdateOverlay( vout_thread_t *p_vout );
/*****************************************************************************
* Prototypes from events.c
*****************************************************************************/
void
*
EventThread
(
vlc_object_t
*
p_this
);
int
CreateEventThread
(
vout_thread_t
*
p_vout
);
void
StopEventThread
(
vout_thread_t
*
p_vout
);
/*****************************************************************************
* Prototypes from common.c
*****************************************************************************/
int
Control
(
vout_thread_t
*
p_vout
,
int
i_query
,
va_list
args
);
void
UpdateRects
(
vout_thread_t
*
p_vout
,
bool
b_force
);
void
Win32ToggleFullscreen
(
vout_thread_t
*
p_vout
);
#ifndef UNDER_CE
void
DisableScreensaver
(
vout_thread_t
*
p_vout
);
void
RestoreScreensaver
(
vout_thread_t
*
p_vout
);
#endif
int
CreateEventThread
(
vout_thread_t
*
p_vout
);
void
StopEventThread
(
vout_thread_t
*
p_vout
);
/*****************************************************************************
* Constants
...
...
modules/video_output/msw/wingdi.c
View file @
e17db4e3
...
...
@@ -152,6 +152,7 @@ static int OpenVideo ( vlc_object_t *p_this )
p_vout
->
pf_end
=
End
;
p_vout
->
pf_manage
=
Manage
;
p_vout
->
pf_render
=
Render
;
p_vout
->
pf_control
=
Control
;
#ifdef MODULE_NAME_IS_wingapi
p_vout
->
pf_display
=
FirstDisplayGAPI
;
...
...
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