damiandixon damiandixon

Niner since 2011


  • Achieving high performance 2D graphics with Direct2D


    Thanks for the link. 

    My problem is I need the line joins and anti-aliasing as well as working on a Server.

    I suspect I will have to do Direct3D and OpenGL. A pity really as I also need to draw on a Server as a Service which means OpenGL and Direct3D can not normally be used (problems getting an Accelerated Context).

  • Achieving high performance 2D graphics with Direct2D

    While you may be correct about using Direct2D for complex geometry you are sadly mistaken about OpenGL.

    On Windows Vista/Windows7/Windows8 OpenGL does not call through to DirectX to implement the functionality. Microsoft originally proposed this but backed out under pressure from the IT industry.

    OpenGL is implemented by the Graphics Card manufacturers and has direct access to the hardware.

  • Achieving high performance 2D graphics with Direct2D

    We are finding that the documentation for Direct2D is not sufficiently enough to develop complex graphics intensive applications. This is a good start but we need significantly more to enable us to be quickly productive as developers with Direct2D. 

    The application we are attempting to develop is for GIS - so we are basically pushing very large amounts of complex holed polygons (potentially thousands of points with thousands of polygons), polylines, texts and symbols. We are finding the performance of polygon rendering and the outlines to be insufficient with Windows 7.

    We suspect that the use case scenarios for Direct2D do not  consider this type of complex application (at least on Windows 7).

    We are achieving with OpenGL between 30 to 60 frames faster than Direct2D with the same architecture and geometry input. I do however need to review the performance tips in this video and apply these. Hopefully I will see a speed up.

    I hope that by knowing what we are attempting to achieve then you will consider this in performance testing/improvements.