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
6050a025
Commit
6050a025
authored
Nov 27, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Add a font glyph cache in the DIB engine.
parent
0c0b2297
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
dc.c
dlls/gdi32/dibdrv/dc.c
+1
-0
dibdrv.h
dlls/gdi32/dibdrv/dibdrv.h
+3
-0
graphics.c
dlls/gdi32/dibdrv/graphics.c
+0
-0
No files found.
dlls/gdi32/dibdrv/dc.c
View file @
6050a025
...
...
@@ -342,6 +342,7 @@ static BOOL dibdrv_DeleteDC( PHYSDEV dev )
TRACE
(
"(%p)
\n
"
,
dev
);
free_pattern_brush
(
&
pdev
->
brush
);
free_pattern_brush
(
&
pdev
->
pen_brush
);
release_cached_font
(
pdev
->
font
);
HeapFree
(
GetProcessHeap
(),
0
,
pdev
);
return
TRUE
;
}
...
...
dlls/gdi32/dibdrv/dibdrv.h
View file @
6050a025
...
...
@@ -63,6 +63,7 @@ typedef struct
}
rop_mask_bits
;
struct
dibdrv_physdev
;
struct
cached_font
;
typedef
struct
dib_brush
{
...
...
@@ -92,6 +93,7 @@ typedef struct dibdrv_physdev
HRGN
clip
;
RECT
*
bounds
;
struct
cached_font
*
font
;
/* pen */
DWORD
pen_style
,
pen_endcap
,
pen_join
;
...
...
@@ -250,6 +252,7 @@ extern int get_clipped_rects( const dib_info *dib, const RECT *rc, HRGN clip, st
extern
void
add_clipped_bounds
(
dibdrv_physdev
*
dev
,
const
RECT
*
rect
,
HRGN
clip
)
DECLSPEC_HIDDEN
;
extern
int
clip_line
(
const
POINT
*
start
,
const
POINT
*
end
,
const
RECT
*
clip
,
const
bres_params
*
params
,
POINT
*
pt1
,
POINT
*
pt2
)
DECLSPEC_HIDDEN
;
extern
void
release_cached_font
(
struct
cached_font
*
font
)
DECLSPEC_HIDDEN
;
static
inline
void
init_clipped_rects
(
struct
clipped_rects
*
clip_rects
)
{
...
...
dlls/gdi32/dibdrv/graphics.c
View file @
6050a025
This diff is collapsed.
Click to expand it.
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