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
b92a05c8
Commit
b92a05c8
authored
Jul 14, 2015
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 14, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Implement d2d_d3d_render_target_FillGeometry().
parent
3bb382aa
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
d2d1_private.h
dlls/d2d1/d2d1_private.h
+2
-0
geometry.c
dlls/d2d1/geometry.c
+9
-0
render_target.c
dlls/d2d1/render_target.c
+0
-0
No files found.
dlls/d2d1/d2d1_private.h
View file @
b92a05c8
...
...
@@ -55,6 +55,7 @@ struct d2d_d3d_render_target
ID3D10RenderTargetView
*
view
;
ID3D10StateBlock
*
stateblock
;
ID3D10InputLayout
*
il
;
ID3D10Buffer
*
ib
;
unsigned
int
vb_stride
;
ID3D10Buffer
*
vb
;
ID3D10VertexShader
*
vs
;
...
...
@@ -234,6 +235,7 @@ struct d2d_geometry
void
d2d_path_geometry_init
(
struct
d2d_geometry
*
geometry
)
DECLSPEC_HIDDEN
;
HRESULT
d2d_rectangle_geometry_init
(
struct
d2d_geometry
*
geometry
,
const
D2D1_RECT_F
*
rect
)
DECLSPEC_HIDDEN
;
struct
d2d_geometry
*
unsafe_impl_from_ID2D1Geometry
(
ID2D1Geometry
*
iface
)
DECLSPEC_HIDDEN
;
static
inline
void
d2d_matrix_multiply
(
D2D_MATRIX_3X2_F
*
a
,
const
D2D_MATRIX_3X2_F
*
b
)
{
...
...
dlls/d2d1/geometry.c
View file @
b92a05c8
...
...
@@ -735,3 +735,12 @@ HRESULT d2d_rectangle_geometry_init(struct d2d_geometry *geometry, const D2D1_RE
return
S_OK
;
}
struct
d2d_geometry
*
unsafe_impl_from_ID2D1Geometry
(
ID2D1Geometry
*
iface
)
{
if
(
!
iface
)
return
NULL
;
assert
(
iface
->
lpVtbl
==
(
const
ID2D1GeometryVtbl
*
)
&
d2d_path_geometry_vtbl
||
iface
->
lpVtbl
==
(
const
ID2D1GeometryVtbl
*
)
&
d2d_rectangle_geometry_vtbl
);
return
CONTAINING_RECORD
(
iface
,
struct
d2d_geometry
,
ID2D1Geometry_iface
);
}
dlls/d2d1/render_target.c
View file @
b92a05c8
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