OSDN Git Service

レンダーターゲットが複数ある場合はマルチスレッドにしたほうがいいらしい
authortest <test@yahoo.co.jp>
Sun, 23 Aug 2020 00:23:08 +0000 (09:23 +0900)
committertest <test@yahoo.co.jp>
Sun, 23 Aug 2020 00:23:08 +0000 (09:23 +0900)
Core/Direct2D/D2DRenderCommon.cs

index ed6d9da..2622201 100644 (file)
@@ -173,7 +173,7 @@ namespace FooEditEngine
             {
                 if (_D2DFactory == null)
                 {
-                    _D2DFactory = new D2D.Factory1(D2D.FactoryType.SingleThreaded);
+                    _D2DFactory = new D2D.Factory1(D2D.FactoryType.MultiThreaded);
                 }
                 return _D2DFactory;
             }
@@ -186,7 +186,7 @@ namespace FooEditEngine
             {
                 if (_D2DFactory == null)
                 {
-                    _D2DFactory = new D2D.Factory(D2D.FactoryType.SingleThreaded);
+                    _D2DFactory = new D2D.Factory(D2D.FactoryType.MultiThreaded);
                 }
                 return _D2DFactory;
             }