blob: 0c60c9116900265cb47da2883e6d9770806e6d63 [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/SkOnce.h"
void SkFlattenable::RegisterFlattenablesIfNeeded() {
static SkOnce once;
once([]{
SkFlattenable::PrivateInitializer::InitEffects();
SkFlattenable::PrivateInitializer::InitImageFilters();
SkFlattenable::Finalize();
});
}