Flutter Engine
The Flutter Engine
third_party
skia
src
core
SkGlobalInitialization_core.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2016 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/core/SkFlattenable.h
"
9
#include "
include/private/base/SkOnce.h
"
10
11
void
SkFlattenable::RegisterFlattenablesIfNeeded() {
12
static
SkOnce
once;
13
once([]{
14
SkFlattenable::PrivateInitializer::InitEffects
();
15
SkFlattenable::PrivateInitializer::InitImageFilters
();
16
SkFlattenable::Finalize();
17
});
18
}
SkFlattenable.h
SkOnce.h
SkFlattenable::PrivateInitializer::InitImageFilters
static void InitImageFilters()
Definition:
SkGlobalInitialization_default.cpp:108
SkFlattenable::PrivateInitializer::InitEffects
static void InitEffects()
Definition:
SkGlobalInitialization_default.cpp:51
SkOnce
Definition:
SkOnce.h:22
Generated on Sun Jun 23 2024 21:56:12 for Flutter Engine by
1.9.4