Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f13c65b4
Commit
f13c65b4
authored
Apr 12, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Get rid of the old ddraw HAL support.
parent
6db79587
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
56 deletions
+0
-56
Makefile.in
dlls/winex11.drv/Makefile.in
+0
-1
init.c
dlls/winex11.drv/init.c
+0
-9
settings.c
dlls/winex11.drv/settings.c
+0
-37
x11ddraw.c
dlls/winex11.drv/x11ddraw.c
+0
-0
x11drv.h
dlls/winex11.drv/x11drv.h
+0
-5
x11drv_main.c
dlls/winex11.drv/x11drv_main.c
+0
-4
No files found.
dlls/winex11.drv/Makefile.in
View file @
f13c65b4
...
...
@@ -30,7 +30,6 @@ C_SRCS = \
text.c
\
window.c
\
wintab.c
\
x11ddraw.c
\
x11drv_main.c
\
xdnd.c
\
xfont.c
\
...
...
dlls/winex11.drv/init.c
View file @
f13c65b4
...
...
@@ -304,15 +304,6 @@ INT CDECL X11DRV_ExtEscape( X11DRV_PDEVICE *physDev, INT escape, INT in_count, L
}
break
;
case
DCICOMMAND
:
if
(
in_data
)
{
const
DCICMD
*
lpCmd
=
in_data
;
if
(
lpCmd
->
dwVersion
!=
DD_VERSION
)
break
;
return
X11DRV_DCICommand
(
in_count
,
lpCmd
,
out_data
);
}
break
;
case
X11DRV_ESCAPE
:
if
(
in_data
&&
in_count
>=
sizeof
(
enum
x11drv_escape_codes
))
{
...
...
dlls/winex11.drv/settings.c
View file @
f13c65b4
...
...
@@ -31,7 +31,6 @@
#include "windef.h"
#include "winreg.h"
#include "wingdi.h"
#include "ddrawi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
x11settings
);
...
...
@@ -439,39 +438,3 @@ LONG CDECL X11DRV_ChangeDisplaySettingsEx( LPCWSTR devname, LPDEVMODEW devmode,
devmode
->
dmBitsPerPel
,
devmode
->
dmDisplayFrequency
,
handler_name
);
return
DISP_CHANGE_BADMODE
;
}
/***********************************************************************
* DirectDraw HAL interface
*
*/
static
DWORD
PASCAL
X11DRV_Settings_SetMode
(
LPDDHAL_SETMODEDATA
data
)
{
TRACE
(
"Mode %d requested by DDHAL (%s)
\n
"
,
data
->
dwModeIndex
,
handler_name
);
switch
(
pSetCurrentMode
(
data
->
dwModeIndex
))
{
case
DISP_CHANGE_SUCCESSFUL
:
X11DRV_DDHAL_SwitchMode
(
data
->
dwModeIndex
,
NULL
,
NULL
);
data
->
ddRVal
=
DD_OK
;
break
;
case
DISP_CHANGE_BADMODE
:
data
->
ddRVal
=
DDERR_WRONGMODE
;
break
;
default:
data
->
ddRVal
=
DDERR_UNSUPPORTEDMODE
;
}
return
DDHAL_DRIVER_HANDLED
;
}
int
X11DRV_Settings_CreateDriver
(
LPDDHALINFO
info
)
{
if
(
!
dd_mode_count
)
return
0
;
/* no settings defined */
TRACE
(
"Setting up display settings for DDRAW (%s)
\n
"
,
handler_name
);
info
->
dwNumModes
=
dd_mode_count
;
info
->
lpModeInfo
=
dd_modes
;
X11DRV_DDHAL_SwitchMode
(
pGetCurrentMode
(),
NULL
,
NULL
);
info
->
lpDDCallbacks
->
SetMode
=
X11DRV_Settings_SetMode
;
return
TRUE
;
}
dlls/winex11.drv/x11ddraw.c
deleted
100644 → 0
View file @
6db79587
This diff is collapsed.
Click to expand it.
dlls/winex11.drv/x11drv.h
View file @
f13c65b4
...
...
@@ -466,8 +466,6 @@ extern void X11DRV_DIB_DeleteDIBSection(X_PHYSBITMAP *physBitmap, DIBSECTION *di
extern
void
X11DRV_DIB_CopyDIBSection
(
X11DRV_PDEVICE
*
physDevSrc
,
X11DRV_PDEVICE
*
physDevDst
,
DWORD
xSrc
,
DWORD
ySrc
,
DWORD
xDest
,
DWORD
yDest
,
DWORD
width
,
DWORD
height
);
struct
_DCICMD
;
extern
INT
X11DRV_DCICommand
(
INT
cbInput
,
const
struct
_DCICMD
*
lpCmd
,
LPVOID
lpOutData
);
/**************************************************************************
* X11 GDI driver
...
...
@@ -593,7 +591,6 @@ extern unsigned int screen_bpp;
extern
unsigned
int
screen_depth
;
extern
RECT
virtual_screen_rect
;
extern
unsigned
int
text_caps
;
extern
int
dxgrab
;
extern
int
use_xkb
;
extern
int
use_take_focus
;
extern
int
use_primary_selection
;
...
...
@@ -848,8 +845,6 @@ LPDDHALMODEINFO X11DRV_Settings_SetHandlers(const char *name,
unsigned
int
nmodes
,
int
reserve_depths
);
extern
void
X11DRV_DDHAL_SwitchMode
(
DWORD
dwModeIndex
,
LPVOID
fb_addr
,
LPVIDMEM
fb_mem
);
/* XIM support */
extern
BOOL
X11DRV_InitXIM
(
const
char
*
input_style
)
DECLSPEC_HIDDEN
;
extern
XIC
X11DRV_CreateIC
(
XIM
xim
,
struct
x11drv_win_data
*
data
)
DECLSPEC_HIDDEN
;
...
...
dlls/winex11.drv/x11drv_main.c
View file @
f13c65b4
...
...
@@ -75,7 +75,6 @@ unsigned int screen_bpp;
unsigned
int
screen_depth
;
RECT
virtual_screen_rect
;
Window
root_window
;
int
dxgrab
=
0
;
int
usexvidmode
=
1
;
int
usexrandr
=
1
;
int
usexcomposite
=
1
;
...
...
@@ -406,9 +405,6 @@ static void setup_options(void)
if
(
!
get_config_key
(
hkey
,
appkey
,
"Decorated"
,
buffer
,
sizeof
(
buffer
)
))
decorated_mode
=
IS_OPTION_TRUE
(
buffer
[
0
]
);
if
(
!
get_config_key
(
hkey
,
appkey
,
"DXGrab"
,
buffer
,
sizeof
(
buffer
)
))
dxgrab
=
IS_OPTION_TRUE
(
buffer
[
0
]
);
if
(
!
get_config_key
(
hkey
,
appkey
,
"UseXVidMode"
,
buffer
,
sizeof
(
buffer
)
))
usexvidmode
=
IS_OPTION_TRUE
(
buffer
[
0
]
);
...
...
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