[v2 PATCH 0/6] Add d2d device context

Lucian Poston lucian.poston at gmail.com
Wed Nov 22 12:25:42 CST 2017


The final 6/6 patch with ID2D1Bitmap1 implementation will come later once
these first ones are ready.

Changes since v1,
* Fixed idl issues pointed out by nsivov.
* Squashed stub and implementation patches together into one commit.
* Reorganized patch series so that each patch individually passes tests.
* Switched internal implementations to use ID2D1Factory1 e.g. in geometry.c.
* In test, replaced d3d11 device with d3d10 in order to reuse existing
  helper functions in other d2d1 tests, as requested in v1 review.
* Removed NULL checks as requested in v1 review.
* Reordered interface conditional check in QueryInterface per v1 review.
* Renamed several identifiers as requested in v1 review.


Lucian Poston (5):
  d2d1: Add d2d1_1.idl
  d2d1: Add test that draws using d2d device context
  d2d1: Stub ID2D1Factory1
  d2d1: Partially implement ID2D1Device
  d2d1: Partially implement ID2D1DeviceContext

 dlls/d2d1/Makefile.in      |    2 +
 dlls/d2d1/d2d1_private.h   |   36 +-
 dlls/d2d1/device.c         |  191 +++++++
 dlls/d2d1/device_context.c | 1180 ++++++++++++++++++++++++++++++++++++++++++++
 dlls/d2d1/factory.c        |  193 ++++++--
 dlls/d2d1/geometry.c       |   30 +-
 dlls/d2d1/render_target.c  |   82 ++-
 dlls/d2d1/tests/d2d1.c     |  105 ++++
 dlls/uuid/d2d.c            |    1 +
 include/Makefile.in        |    1 +
 include/d2d1_1.idl         |  655 ++++++++++++++++++++++++
 include/dcommon.idl        |   15 +
 12 files changed, 2420 insertions(+), 71 deletions(-)
 create mode 100644 dlls/d2d1/device.c
 create mode 100644 dlls/d2d1/device_context.c
 create mode 100644 include/d2d1_1.idl

-- 
2.13.6




More information about the wine-devel mailing list