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
735657d1
Commit
735657d1
authored
May 12, 2011
by
Huw Davies
Committed by
Alexandre Julliard
May 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Keep track of changes to the brush rop, so that we can perform lazy…
gdi32: Keep track of changes to the brush rop, so that we can perform lazy realisation of the brush.
parent
0d0f2fa4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
objects.c
dlls/gdi32/dibdrv/objects.c
+1
-0
gdi_private.h
dlls/gdi32/gdi_private.h
+1
-0
No files found.
dlls/gdi32/dibdrv/objects.c
View file @
735657d1
...
...
@@ -958,6 +958,7 @@ static BOOL solid_brush(dibdrv_physdev *pdev, int num, RECT *rects)
void
update_brush_rop
(
dibdrv_physdev
*
pdev
,
INT
rop
)
{
pdev
->
brush_rop
=
rop
;
if
(
pdev
->
brush_style
==
BS_SOLID
)
calc_and_xor_masks
(
rop
,
pdev
->
brush_color
,
&
pdev
->
brush_and
,
&
pdev
->
brush_xor
);
}
...
...
dlls/gdi32/gdi_private.h
View file @
735657d1
...
...
@@ -122,6 +122,7 @@ typedef struct dibdrv_physdev
/* brush */
UINT
brush_style
;
INT
brush_rop
;
/* PatBlt, for example, can override the DC's rop2 */
DWORD
brush_color
,
brush_and
,
brush_xor
;
BOOL
(
*
brush_rects
)(
struct
dibdrv_physdev
*
pdev
,
int
num
,
RECT
*
rects
);
...
...
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