зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1392556 - Initialize DWriteFactory in GPUParent::RecvInit() r=jrmuizel
This commit is contained in:
Родитель
8d93912409
Коммит
d89ca5a049
|
@ -42,6 +42,7 @@
|
|||
#if defined(XP_WIN)
|
||||
# include "mozilla/gfx/DeviceManagerDx.h"
|
||||
# include <process.h>
|
||||
# include <dwrite.h>
|
||||
#endif
|
||||
#ifdef MOZ_WIDGET_GTK
|
||||
# include <gtk/gtk.h>
|
||||
|
@ -182,6 +183,9 @@ GPUParent::RecvInit(nsTArray<GfxPrefSetting>&& prefs,
|
|||
if (gfxConfig::IsEnabled(Feature::D3D11_COMPOSITING)) {
|
||||
DeviceManagerDx::Get()->CreateCompositorDevices();
|
||||
}
|
||||
if (gfxVars::UseWebRender()) {
|
||||
Factory::EnsureDWriteFactory();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(MOZ_WIDGET_GTK)
|
||||
|
|
Загрузка…
Ссылка в новой задаче