Added more Rendering and GraphicsDeviceTypes; Disabled ping request count in Synchronize

This commit is contained in:
Yoshi Askharoun
2021-07-16 01:11:06 -05:00
parent c3d90fccbd
commit 926ed12bd6
9 changed files with 45 additions and 19 deletions
+1
View File
@@ -467,6 +467,7 @@ namespace Microsoft.Iris
graphicsType = GraphicsDeviceType.Direct3D9;
break;
default:
graphicsType = GraphicsDeviceType.Unknown;
throw new ArgumentException(InvariantString.Format("Unknown rendering type {0}", type));
}
if (type == RenderingType.Default && !s_session.IsGraphicsDeviceRecommended(graphicsType) || !s_session.IsGraphicsDeviceAvailable(graphicsType))
+3 -1
View File
@@ -10,6 +10,8 @@ namespace Microsoft.Iris
{
GDI,
DX9,
Default,
Skia,
Default = -1,
}
}