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
952b2575
Commit
952b2575
authored
Jul 22, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Implement d2d_d3d_render_target_GetTransform().
parent
d17bd8d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
d2d1_private.h
dlls/d2d1/d2d1_private.h
+2
-0
render_target.c
dlls/d2d1/render_target.c
+14
-1
No files found.
dlls/d2d1/d2d1_private.h
View file @
952b2575
...
...
@@ -28,6 +28,8 @@ struct d2d_d3d_render_target
{
ID2D1RenderTarget
ID2D1RenderTarget_iface
;
LONG
refcount
;
D2D1_MATRIX_3X2_F
transform
;
};
void
d2d_d3d_render_target_init
(
struct
d2d_d3d_render_target
*
render_target
,
ID2D1Factory
*
factory
,
...
...
dlls/d2d1/render_target.c
View file @
952b2575
...
...
@@ -322,7 +322,11 @@ static void STDMETHODCALLTYPE d2d_d3d_render_target_SetTransform(ID2D1RenderTarg
static
void
STDMETHODCALLTYPE
d2d_d3d_render_target_GetTransform
(
ID2D1RenderTarget
*
iface
,
D2D1_MATRIX_3X2_F
*
transform
)
{
FIXME
(
"iface %p, transform %p stub!
\n
"
,
iface
,
transform
);
struct
d2d_d3d_render_target
*
render_target
=
impl_from_ID2D1RenderTarget
(
iface
);
TRACE
(
"iface %p, transform %p.
\n
"
,
iface
,
transform
);
*
transform
=
render_target
->
transform
;
}
static
void
STDMETHODCALLTYPE
d2d_d3d_render_target_SetAntialiasMode
(
ID2D1RenderTarget
*
iface
,
...
...
@@ -556,8 +560,17 @@ static const struct ID2D1RenderTargetVtbl d2d_d3d_render_target_vtbl =
void
d2d_d3d_render_target_init
(
struct
d2d_d3d_render_target
*
render_target
,
ID2D1Factory
*
factory
,
IDXGISurface
*
surface
,
const
D2D1_RENDER_TARGET_PROPERTIES
*
desc
)
{
static
const
D2D1_MATRIX_3X2_F
identity
=
{
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
0
f
,
};
FIXME
(
"Ignoring render target properties.
\n
"
);
render_target
->
ID2D1RenderTarget_iface
.
lpVtbl
=
&
d2d_d3d_render_target_vtbl
;
render_target
->
refcount
=
1
;
render_target
->
transform
=
identity
;
}
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