svg-native-viewer icon indicating copy to clipboard operation
svg-native-viewer copied to clipboard

Add D2D renderer

Open be5invis opened this issue 5 years ago • 5 comments

GDI+ is really considered obsolete, and many libs/ui frameworks is moving to d2d.

be5invis avatar Dec 03 '19 04:12 be5invis

Indeed, we should add D2D port. Dirk had once worked for WinDrawLib port, I guess it was a next step after GDI+ port. I want to hear his comment whether he found any critical problem and abandoned the port, or he moved to another port calling D2D directory.

BTW, I'm really newbie about D2D programming. Is there any nice tutorial?

mpsuzuki avatar Dec 03 '19 10:12 mpsuzuki

@mpsuzuki If you used GDI+ before it is not hard to get into D2D. The basic idea of rendering is similar. Would you be interested in working on the D2D port? I could try to get someone in my team interested but that will take a couple of weeks at least.

dirkschulze avatar Dec 20 '19 21:12 dirkschulze

I think the request of the migration to D2D is reasonable, but I've never experienced with GDI+ programming. Maybe a couple of weeks is to short for me to learn D2D. I want to hear whether any experts from your team would be interested in this issue. If nobody would work (that's really OK, no problem), and there is no technical barrier, I should work for this.

mpsuzuki avatar Dec 21 '19 12:12 mpsuzuki

@mpsuzuki No problem :)

dirkschulze avatar Dec 22 '19 07:12 dirkschulze

An early prototype can be found here: https://github.com/dirkschulze/svg-native-viewer/tree/d2d-port (crashing after drawing currently).

dirkschulze avatar Mar 12 '21 20:03 dirkschulze