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
060d2230
Commit
060d2230
authored
Mar 26, 2015
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 27, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Implement d2d_d3d_render_target_SetTextRenderingParams().
parent
237a0ada
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
d2d1_private.h
dlls/d2d1/d2d1_private.h
+2
-0
render_target.c
dlls/d2d1/render_target.c
+11
-1
No files found.
dlls/d2d1/d2d1_private.h
View file @
060d2230
...
...
@@ -64,6 +64,8 @@ struct d2d_d3d_render_target
ID3D10PixelShader
*
rect_solid_ps
;
ID3D10PixelShader
*
rect_bitmap_ps
;
IDWriteRenderingParams
*
text_rendering_params
;
D2D1_SIZE_U
pixel_size
;
D2D1_MATRIX_3X2_F
transform
;
struct
d2d_clip_stack
clip_stack
;
...
...
dlls/d2d1/render_target.c
View file @
060d2230
...
...
@@ -225,6 +225,8 @@ static ULONG STDMETHODCALLTYPE d2d_d3d_render_target_Release(ID2D1RenderTarget *
if
(
!
refcount
)
{
d2d_clip_stack_cleanup
(
&
render_target
->
clip_stack
);
if
(
render_target
->
text_rendering_params
)
IDWriteRenderingParams_Release
(
render_target
->
text_rendering_params
);
ID3D10PixelShader_Release
(
render_target
->
rect_bitmap_ps
);
ID3D10PixelShader_Release
(
render_target
->
rect_solid_ps
);
ID3D10BlendState_Release
(
render_target
->
bs
);
...
...
@@ -856,7 +858,15 @@ static D2D1_TEXT_ANTIALIAS_MODE STDMETHODCALLTYPE d2d_d3d_render_target_GetTextA
static
void
STDMETHODCALLTYPE
d2d_d3d_render_target_SetTextRenderingParams
(
ID2D1RenderTarget
*
iface
,
IDWriteRenderingParams
*
text_rendering_params
)
{
FIXME
(
"iface %p, text_rendering_params %p stub!
\n
"
,
iface
,
text_rendering_params
);
struct
d2d_d3d_render_target
*
render_target
=
impl_from_ID2D1RenderTarget
(
iface
);
TRACE
(
"iface %p, text_rendering_params %p.
\n
"
,
iface
,
text_rendering_params
);
if
(
text_rendering_params
)
IDWriteRenderingParams_AddRef
(
text_rendering_params
);
if
(
render_target
->
text_rendering_params
)
IDWriteRenderingParams_Release
(
render_target
->
text_rendering_params
);
render_target
->
text_rendering_params
=
text_rendering_params
;
}
static
void
STDMETHODCALLTYPE
d2d_d3d_render_target_GetTextRenderingParams
(
ID2D1RenderTarget
*
iface
,
...
...
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