diff --git a/CefSharp.MinimalExample.OffScreen/CefSharp.MinimalExample.OffScreen.csproj b/CefSharp.MinimalExample.OffScreen/CefSharp.MinimalExample.OffScreen.csproj index 5c458eb..d6f0995 100644 --- a/CefSharp.MinimalExample.OffScreen/CefSharp.MinimalExample.OffScreen.csproj +++ b/CefSharp.MinimalExample.OffScreen/CefSharp.MinimalExample.OffScreen.csproj @@ -1,7 +1,7 @@  - - + + Debug @@ -15,7 +15,7 @@ 512 Client ..\ - 16eeeaf1 + 9473b9f0 true @@ -82,7 +82,7 @@ - - - + + + \ No newline at end of file diff --git a/CefSharp.MinimalExample.OffScreen/Program.cs b/CefSharp.MinimalExample.OffScreen/Program.cs index 850c3aa..75b0c7d 100644 --- a/CefSharp.MinimalExample.OffScreen/Program.cs +++ b/CefSharp.MinimalExample.OffScreen/Program.cs @@ -22,8 +22,12 @@ namespace CefSharp.MinimalExample.OffScreen Console.WriteLine("You may see Chromium debugging output, please wait..."); Console.WriteLine(); + var settings = new CefSettings(); + // Disable GPU in WPF and Offscreen examples until #1634 has been resolved + settings.CefCommandLineArgs.Add("disable-gpu", "1"); + //Perform dependency check to make sure all relevant resources are in our output directory. - Cef.Initialize(new CefSettings(), shutdownOnProcessExit: true, performDependencyCheck: true); + Cef.Initialize(settings, shutdownOnProcessExit: true, performDependencyCheck: true); // Create the offscreen Chromium browser. browser = new ChromiumWebBrowser(testUrl); diff --git a/CefSharp.MinimalExample.OffScreen/packages.config b/CefSharp.MinimalExample.OffScreen/packages.config index e3d5fd0..71dc2d3 100644 --- a/CefSharp.MinimalExample.OffScreen/packages.config +++ b/CefSharp.MinimalExample.OffScreen/packages.config @@ -1,7 +1,7 @@  - - - - + + + + \ No newline at end of file diff --git a/CefSharp.MinimalExample.WinForms/CefSharp.MinimalExample.WinForms.csproj b/CefSharp.MinimalExample.WinForms/CefSharp.MinimalExample.WinForms.csproj index f34f68e..c05a0a8 100644 --- a/CefSharp.MinimalExample.WinForms/CefSharp.MinimalExample.WinForms.csproj +++ b/CefSharp.MinimalExample.WinForms/CefSharp.MinimalExample.WinForms.csproj @@ -1,7 +1,7 @@  - - + + Debug AnyCPU @@ -23,7 +23,7 @@ 3.5 Client ..\ - bf609fa5 + 3ed6103d x64 @@ -98,7 +98,7 @@ - - - + + + \ No newline at end of file diff --git a/CefSharp.MinimalExample.WinForms/packages.config b/CefSharp.MinimalExample.WinForms/packages.config index 5433cf3..d15c261 100644 --- a/CefSharp.MinimalExample.WinForms/packages.config +++ b/CefSharp.MinimalExample.WinForms/packages.config @@ -1,7 +1,7 @@  - - - - + + + + \ No newline at end of file diff --git a/CefSharp.MinimalExample.Wpf/App.xaml.cs b/CefSharp.MinimalExample.Wpf/App.xaml.cs index dd72b16..6836df0 100644 --- a/CefSharp.MinimalExample.Wpf/App.xaml.cs +++ b/CefSharp.MinimalExample.Wpf/App.xaml.cs @@ -9,6 +9,9 @@ namespace CefSharp.MinimalExample.Wpf //Perform dependency check to make sure all relevant resources are in our output directory. var settings = new CefSettings(); settings.EnableInternalPdfViewerOffScreen(); + // Disable GPU in WPF and Offscreen examples until #1634 has been resolved + settings.CefCommandLineArgs.Add("disable-gpu", "1"); + Cef.Initialize(settings, shutdownOnProcessExit: true, performDependencyCheck: true); } } diff --git a/CefSharp.MinimalExample.Wpf/CefSharp.MinimalExample.Wpf.csproj b/CefSharp.MinimalExample.Wpf/CefSharp.MinimalExample.Wpf.csproj index a347479..c913cfc 100644 --- a/CefSharp.MinimalExample.Wpf/CefSharp.MinimalExample.Wpf.csproj +++ b/CefSharp.MinimalExample.Wpf/CefSharp.MinimalExample.Wpf.csproj @@ -1,7 +1,7 @@  - - + + Debug @@ -17,7 +17,7 @@ 4 Client ..\ - 116ed7ad + 821be23a true @@ -125,9 +125,9 @@ - - - + + +