Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
0b6e9a98
Commit
0b6e9a98
authored
Jun 22, 2021
by
Ken Thomases
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac.drv: No Flicker patch
parent
e608d65c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
macdrv.h
dlls/winemac.drv/macdrv.h
+1
-0
macdrv_main.c
dlls/winemac.drv/macdrv_main.c
+4
-0
opengl.c
dlls/winemac.drv/opengl.c
+1
-1
No files found.
dlls/winemac.drv/macdrv.h
View file @
0b6e9a98
...
...
@@ -41,6 +41,7 @@ extern BOOL allow_vsync DECLSPEC_HIDDEN;
extern
BOOL
allow_set_gamma
DECLSPEC_HIDDEN
;
extern
BOOL
allow_software_rendering
DECLSPEC_HIDDEN
;
extern
BOOL
disable_window_decorations
DECLSPEC_HIDDEN
;
extern
BOOL
force_backing_store
DECLSPEC_HIDDEN
;
extern
const
char
*
debugstr_cf
(
CFTypeRef
t
)
DECLSPEC_HIDDEN
;
...
...
dlls/winemac.drv/macdrv_main.c
View file @
0b6e9a98
...
...
@@ -66,6 +66,7 @@ int use_precise_scrolling = TRUE;
int
gl_surface_mode
=
GL_SURFACE_IN_FRONT_OPAQUE
;
int
retina_enabled
=
FALSE
;
int
enable_app_nap
=
FALSE
;
BOOL
force_backing_store
=
FALSE
;
CFDictionaryRef
localized_strings
;
...
...
@@ -384,6 +385,9 @@ static void setup_options(void)
if
(
!
get_config_key
(
hkey
,
appkey
,
"EnableAppNap"
,
buffer
,
sizeof
(
buffer
)))
enable_app_nap
=
IS_OPTION_TRUE
(
buffer
[
0
]);
if
(
!
get_config_key
(
hkey
,
appkey
,
"ForceOpenGLBackingStore"
,
buffer
,
sizeof
(
buffer
)))
force_backing_store
=
IS_OPTION_TRUE
(
buffer
[
0
]);
/* Don't use appkey. The DPI and monitor sizes should be consistent for all
processes in the prefix. */
if
(
!
get_config_key
(
hkey
,
NULL
,
"RetinaMode"
,
buffer
,
sizeof
(
buffer
)))
...
...
dlls/winemac.drv/opengl.c
View file @
0b6e9a98
...
...
@@ -1452,7 +1452,7 @@ static BOOL create_context(struct wgl_context *context, CGLContextObj share, uns
attribs
[
n
++
]
=
pf
->
samples
;
}
if
(
pf
->
backing_store
)
if
(
force_backing_store
||
pf
->
backing_store
)
attribs
[
n
++
]
=
kCGLPFABackingStore
;
if
(
core
)
...
...
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