Flutter Engine
The Flutter Engine
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 Sun Jun 23 2024 21:56:31 for Flutter Engine by
1.9.4