Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
src
ports
SkFontConfigInterface_direct_factory.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2009-2015 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#include "
include/private/base/SkOnce.h
"
9
#include "
src/ports/SkFontConfigInterface_direct.h
"
10
11
SkFontConfigInterface
*
SkFontConfigInterface::GetSingletonDirectInterface
() {
12
static
SkFontConfigInterface
* singleton;
13
static
SkOnce
once;
14
once([]{ singleton =
new
SkFontConfigInterfaceDirect
(
nullptr
); });
15
return
singleton;
16
}
SkFontConfigInterface_direct.h
SkOnce.h
SkFontConfigInterfaceDirect
Definition
SkFontConfigInterface_direct.h:16
SkFontConfigInterface
Definition
SkFontConfigInterface.h:24
SkFontConfigInterface::GetSingletonDirectInterface
static SkFontConfigInterface * GetSingletonDirectInterface()
Definition
SkFontConfigInterface_direct_factory.cpp:11
SkOnce
Definition
SkOnce.h:22
Generated on Fri Apr 26 2024 06:17:24 for Flutter Engine by
1.9.8