|
|
|
@ -26,8 +26,12 @@ namespace Avalonia.Direct2D1 |
|
|
|
{ |
|
|
|
private static readonly Direct2D1Platform s_instance = new Direct2D1Platform(); |
|
|
|
|
|
|
|
private static readonly SharpDX.Direct2D1.Factory s_d2D1Factory = new SharpDX.Direct2D1.Factory(); |
|
|
|
|
|
|
|
private static readonly SharpDX.Direct2D1.Factory s_d2D1Factory = |
|
|
|
#if DEBUG
|
|
|
|
new SharpDX.Direct2D1.Factory(SharpDX.Direct2D1.FactoryType.SingleThreaded, SharpDX.Direct2D1.DebugLevel.Error); |
|
|
|
#else
|
|
|
|
new SharpDX.Direct2D1.Factory(SharpDX.Direct2D1.FactoryType.SingleThreaded, SharpDX.Direct2D1.DebugLevel.None); |
|
|
|
#endif
|
|
|
|
private static readonly SharpDX.DirectWrite.Factory s_dwfactory = new SharpDX.DirectWrite.Factory(); |
|
|
|
|
|
|
|
private static readonly SharpDX.WIC.ImagingFactory s_imagingFactory = new SharpDX.WIC.ImagingFactory(); |
|
|
|
|