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
5557fac1
Commit
5557fac1
authored
Sep 24, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Don't hold the GDI lock while calling the driver painting functions.
parent
0c4f81ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
painting.c
dlls/gdi32/painting.c
+6
-6
No files found.
dlls/gdi32/painting.c
View file @
5557fac1
...
...
@@ -67,7 +67,7 @@ BOOL WINAPI LineTo( HDC hdc, INT x, INT y )
BOOL
WINAPI
MoveToEx
(
HDC
hdc
,
INT
x
,
INT
y
,
LPPOINT
pt
)
{
BOOL
ret
=
TRUE
;
DC
*
dc
=
DC_GetDCP
tr
(
hdc
);
DC
*
dc
=
get_dc_p
tr
(
hdc
);
if
(
!
dc
)
return
FALSE
;
...
...
@@ -80,7 +80,7 @@ BOOL WINAPI MoveToEx( HDC hdc, INT x, INT y, LPPOINT pt )
if
(
PATH_IsPathOpen
(
dc
->
path
))
ret
=
PATH_MoveTo
(
dc
);
else
if
(
dc
->
funcs
->
pMoveTo
)
ret
=
dc
->
funcs
->
pMoveTo
(
dc
->
physDev
,
x
,
y
);
DC_ReleaseDCP
tr
(
dc
);
release_dc_p
tr
(
dc
);
return
ret
;
}
...
...
@@ -335,7 +335,7 @@ COLORREF WINAPI GetPixel( HDC hdc, INT x, INT y )
INT
WINAPI
ChoosePixelFormat
(
HDC
hdc
,
const
PIXELFORMATDESCRIPTOR
*
ppfd
)
{
INT
ret
=
0
;
DC
*
dc
=
DC_GetDCP
tr
(
hdc
);
DC
*
dc
=
get_dc_p
tr
(
hdc
);
TRACE
(
"(%p,%p)
\n
"
,
hdc
,
ppfd
);
...
...
@@ -344,7 +344,7 @@ INT WINAPI ChoosePixelFormat( HDC hdc, const PIXELFORMATDESCRIPTOR* ppfd )
if
(
!
dc
->
funcs
->
pChoosePixelFormat
)
FIXME
(
" :stub
\n
"
);
else
ret
=
dc
->
funcs
->
pChoosePixelFormat
(
dc
->
physDev
,
ppfd
);
DC_ReleaseDCP
tr
(
dc
);
release_dc_p
tr
(
dc
);
return
ret
;
}
...
...
@@ -427,7 +427,7 @@ INT WINAPI DescribePixelFormat( HDC hdc, INT iPixelFormat, UINT nBytes,
LPPIXELFORMATDESCRIPTOR
ppfd
)
{
INT
ret
=
0
;
DC
*
dc
=
DC_GetDCP
tr
(
hdc
);
DC
*
dc
=
get_dc_p
tr
(
hdc
);
TRACE
(
"(%p,%d,%d,%p): stub
\n
"
,
hdc
,
iPixelFormat
,
nBytes
,
ppfd
);
...
...
@@ -442,7 +442,7 @@ INT WINAPI DescribePixelFormat( HDC hdc, INT iPixelFormat, UINT nBytes,
}
else
ret
=
dc
->
funcs
->
pDescribePixelFormat
(
dc
->
physDev
,
iPixelFormat
,
nBytes
,
ppfd
);
DC_ReleaseDCP
tr
(
dc
);
release_dc_p
tr
(
dc
);
return
ret
;
}
...
...
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