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
2bce6fea
Commit
2bce6fea
authored
Jul 23, 1999
by
Lionel Ulmer
Committed by
Alexandre Julliard
Jul 23, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added a new option 'noxshm'
- Added a 16bpp -> 32 bpp conversion function
parent
fd087377
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
0 deletions
+6
-0
ddraw.c
graphics/ddraw.c
+0
-0
options.h
include/options.h
+1
-0
main.c
misc/main.c
+2
-0
main.c
windows/x11drv/main.c
+3
-0
No files found.
graphics/ddraw.c
View file @
2bce6fea
This diff is collapsed.
Click to expand it.
include/options.h
View file @
2bce6fea
...
...
@@ -74,6 +74,7 @@ struct options
int
managed
;
/* Managed windows */
int
perfectGraphics
;
/* Favor correctness over speed for graphics */
int
noDGA
;
/* Disable XFree86 DGA extensions */
int
noXSHM
;
/* Disable use of XSHM extension */
char
*
configFileName
;
/* Command line config file */
int
screenDepth
;
};
...
...
misc/main.c
View file @
2bce6fea
...
...
@@ -102,6 +102,7 @@ struct options Options =
FALSE
,
/* Managed windows */
FALSE
,
/* Perfect graphics */
FALSE
,
/* No DGA */
FALSE
,
/* No XSHM */
NULL
,
/* Alternate config file name */
0
/* screenDepth */
};
...
...
@@ -130,6 +131,7 @@ static char szUsage[] =
" -mode mode Start Wine in a particular mode (standard or enhanced)
\n
"
" -name name Set the application name
\n
"
" -nodga Disable XFree86 DGA extensions
\n
"
" -noxshm Disable XSHM extension
\n
"
" -perfect Favor correctness over speed for graphical operations
\n
"
" -privatemap Use a private color map
\n
"
" -synchronous Turn on synchronous display mode
\n
"
...
...
windows/x11drv/main.c
View file @
2bce6fea
...
...
@@ -70,6 +70,7 @@ static XrmOptionDescRec optionsTable[] =
{
"-winver"
,
".winver"
,
XrmoptionSepArg
,
(
caddr_t
)
NULL
},
{
"-config"
,
".config"
,
XrmoptionSepArg
,
(
caddr_t
)
NULL
},
{
"-nodga"
,
".nodga"
,
XrmoptionNoArg
,
(
caddr_t
)
"off"
},
{
"-noxshm"
,
".noxshm"
,
XrmoptionNoArg
,
(
caddr_t
)
"off"
},
{
"-console"
,
".console"
,
XrmoptionSepArg
,
(
caddr_t
)
NULL
},
{
"-dosver"
,
".dosver"
,
XrmoptionSepArg
,
(
caddr_t
)
NULL
}
};
...
...
@@ -288,6 +289,8 @@ void X11DRV_USER_ParseOptions(int *argc, char *argv[])
Options
.
configFileName
=
xstrdup
((
char
*
)
value
.
addr
);
if
(
X11DRV_USER_GetResource
(
db
,
".nodga"
,
&
value
))
Options
.
noDGA
=
TRUE
;
if
(
X11DRV_USER_GetResource
(
db
,
".noxshm"
,
&
value
))
Options
.
noXSHM
=
TRUE
;
if
(
X11DRV_USER_GetResource
(
db
,
".console"
,
&
value
))
driver
.
driver_list
=
xstrdup
((
char
*
)
value
.
addr
);
else
...
...
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