blob: c189a32cb6a7d1bb106c2b8240f04126f7837218 [file] [log] [blame]
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkFlattenable.h"
#include "include/private/base/SkOnce.h"
void SkFlattenable::RegisterFlattenablesIfNeeded() {
static SkOnce once;
once([]{
SkFlattenable::PrivateInitializer::InitEffects();
SkFlattenable::PrivateInitializer::InitImageFilters();
SkFlattenable::Finalize();
});
}