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
40bf321e
Commit
40bf321e
authored
Jan 09, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Remove the remainining DIB section locking calls.
parent
c123c2f8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
13 deletions
+0
-13
bitblt.c
dlls/winex11.drv/bitblt.c
+0
-3
brush.c
dlls/winex11.drv/brush.c
+0
-4
xrender.c
dlls/winex11.drv/xrender.c
+0
-6
No files found.
dlls/winex11.drv/bitblt.c
View file @
40bf321e
...
...
@@ -1241,9 +1241,6 @@ DWORD X11DRV_PutImage( PHYSDEV dev, HBITMAP hbitmap, HRGN clip, BITMAPINFO *info
int
height
=
dst
->
visrect
.
bottom
-
dst
->
visrect
.
top
;
image
->
data
=
dst_bits
.
ptr
;
/* hack: make sure the bits are readable if we are reading from a DIB section */
/* to be removed once we get rid of DIB access protections */
if
(
!
dst_bits
.
is_copy
)
IsBadReadPtr
(
dst_bits
.
ptr
,
height
*
image
->
bytes_per_line
);
if
(
bitmap
)
{
...
...
dlls/winex11.drv/brush.c
View file @
40bf321e
...
...
@@ -215,8 +215,6 @@ static void BRUSH_SelectPatternBrush( X11DRV_PDEVICE *physDev, HBITMAP hbitmap,
GetObjectW
(
hbitmap
,
sizeof
(
bitmap
),
&
bitmap
);
X11DRV_DIB_Lock
(
physBitmap
,
DIB_Status_GdiMod
);
wine_tsx11_lock
();
if
(
physDev
->
brush
.
pixmap
)
XFreePixmap
(
gdi_display
,
physDev
->
brush
.
pixmap
);
...
...
@@ -239,8 +237,6 @@ static void BRUSH_SelectPatternBrush( X11DRV_PDEVICE *physDev, HBITMAP hbitmap,
}
wine_tsx11_unlock
();
X11DRV_DIB_Unlock
(
physBitmap
,
TRUE
);
if
(
physBitmap
->
depth
>
1
)
{
physDev
->
brush
.
fillStyle
=
FillTiled
;
...
...
dlls/winex11.drv/xrender.c
View file @
40bf321e
...
...
@@ -1997,9 +1997,6 @@ static DWORD create_image_pixmap( BITMAPINFO *info, const struct gdi_image_bits
if
(
ret
)
return
ret
;
image
->
data
=
dst_bits
.
ptr
;
/* hack: make sure the bits are readable if we are reading from a DIB section */
/* to be removed once we get rid of DIB access protections */
if
(
!
dst_bits
.
is_copy
)
IsBadReadPtr
(
dst_bits
.
ptr
,
image
->
height
*
image
->
bytes_per_line
);
*
use_repeat
=
(
width
==
1
&&
height
==
1
);
pa
.
repeat
=
*
use_repeat
?
RepeatNormal
:
RepeatNone
;
...
...
@@ -2641,8 +2638,6 @@ static HBRUSH xrenderdrv_SelectBrush( PHYSDEV dev, HBRUSH hbrush, const struct b
GetObjectW
(
bitmap
,
sizeof
(
bm
),
&
bm
);
X11DRV_DIB_Lock
(
physbitmap
,
DIB_Status_GdiMod
);
wine_tsx11_lock
();
pixmap
=
XCreatePixmap
(
gdi_display
,
root_window
,
bm
.
bmWidth
,
bm
.
bmHeight
,
physdev
->
pict_format
->
depth
);
...
...
@@ -2662,7 +2657,6 @@ static HBRUSH xrenderdrv_SelectBrush( PHYSDEV dev, HBRUSH hbrush, const struct b
physdev
->
x11dev
->
brush
.
style
=
BS_PATTERN
;
wine_tsx11_unlock
();
X11DRV_DIB_Unlock
(
physbitmap
,
TRUE
);
if
(
delete_bitmap
)
DeleteObject
(
bitmap
);
return
hbrush
;
...
...
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