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
caa6b574
Commit
caa6b574
authored
Oct 20, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prepare for vout display conversion.
parent
a2980a5e
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1918 additions
and
16 deletions
+1918
-16
modules/video_output/msw/Modules.am
modules/video_output/msw/Modules.am
+15
-15
modules/video_output/msw/common_vo.c
modules/video_output/msw/common_vo.c
+753
-0
modules/video_output/msw/events_vo.c
modules/video_output/msw/events_vo.c
+1092
-0
modules/video_output/msw/events_vo.h
modules/video_output/msw/events_vo.h
+57
-0
modules/video_output/msw/vout.h
modules/video_output/msw/vout.h
+1
-1
No files found.
modules/video_output/msw/Modules.am
View file @
caa6b574
SOURCES_directx = \
SOURCES_directx = \
directx.c \
directx.c \
vout.h \
vout.h \
events.h \
events
_vo
.h \
events.c \
events
_vo
.c \
common.c \
common
_vo
.c \
$(NULL)
$(NULL)
SOURCES_direct3d = \
SOURCES_direct3d = \
direct3d.c \
direct3d.c \
vout.h \
vout.h \
events.h \
events
_vo
.h \
events.c \
events
_vo
.c \
common.c \
common
_vo
.c \
$(NULL)
$(NULL)
SOURCES_glwin32 = \
SOURCES_glwin32 = \
glwin32.c \
glwin32.c \
vout.h \
vout.h \
events.h \
events
_vo
.h \
events.c \
events
_vo
.c \
common.c \
common
_vo
.c \
$(NULL)
$(NULL)
SOURCES_wingdi = \
SOURCES_wingdi = \
wingdi.c \
wingdi.c \
vout.h \
vout.h \
events.h \
events
_vo
.h \
events.c \
events
_vo
.c \
common.c \
common
_vo
.c \
$(NULL)
$(NULL)
SOURCES_wingapi = \
SOURCES_wingapi = \
wingdi.c \
wingdi.c \
vout.h \
vout.h \
events.h \
events
_vo
.h \
events.c \
events
_vo
.c \
common.c \
common
_vo
.c \
$(NULL)
$(NULL)
modules/video_output/msw/common_vo.c
0 → 100644
View file @
caa6b574
This diff is collapsed.
Click to expand it.
modules/video_output/msw/events_vo.c
0 → 100644
View file @
caa6b574
This diff is collapsed.
Click to expand it.
modules/video_output/msw/events_vo.h
0 → 100644
View file @
caa6b574
/*****************************************************************************
* event.h: Windows video output header file
*****************************************************************************
* Copyright (C) 2001-2009 the VideoLAN team
* $Id$
*
* Authors: Gildas Bazin <gbazin@videolan.org>
* Damien Fouilleul <damienf@videolan.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.
*****************************************************************************/
#include <vlc_vout_window.h>
/**
* HWNDs manager.
*/
typedef
struct
event_thread_t
event_thread_t
;
typedef
struct
{
bool
use_desktop
;
/* direct3d */
bool
use_overlay
;
/* directx */
}
event_cfg_t
;
typedef
struct
{
vout_window_t
*
parent_window
;
HWND
hparent
;
HWND
hwnd
;
HWND
hvideownd
;
HWND
hfswnd
;
}
event_hwnd_t
;
event_thread_t
*
EventThreadCreate
(
vout_thread_t
*
,
const
vout_window_cfg_t
*
);
void
EventThreadDestroy
(
event_thread_t
*
);
int
EventThreadStart
(
event_thread_t
*
,
event_hwnd_t
*
,
const
event_cfg_t
*
);
void
EventThreadStop
(
event_thread_t
*
);
void
EventThreadMouseAutoHide
(
event_thread_t
*
);
void
EventThreadMouseShow
(
event_thread_t
*
);
void
EventThreadUpdateTitle
(
event_thread_t
*
,
const
char
*
psz_fallback
);
unsigned
EventThreadRetreiveChanges
(
event_thread_t
*
);
int
EventThreadGetWindowStyle
(
event_thread_t
*
);
void
EventThreadUpdateWindowPosition
(
event_thread_t
*
,
bool
*
pb_changed
,
int
x
,
int
y
,
int
w
,
int
h
);
void
EventThreadUseOverlay
(
event_thread_t
*
,
bool
b_used
);
modules/video_output/msw/vout.h
View file @
caa6b574
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
/*****************************************************************************
/*****************************************************************************
* event_thread_t: event thread
* event_thread_t: event thread
*****************************************************************************/
*****************************************************************************/
#include "events.h"
#include "events
_vo
.h"
#ifdef MODULE_NAME_IS_wingapi
#ifdef MODULE_NAME_IS_wingapi
typedef
struct
GXDisplayProperties
{
typedef
struct
GXDisplayProperties
{
...
...
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