michael@0: /* michael@0: * Copyright 2012 Google Inc. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: #include "SkFlattenable.h" michael@0: #include "SkImageRef_GlobalPool.h" michael@0: #include "SkImages.h" michael@0: michael@0: #ifdef SK_BUILD_FOR_ANDROID michael@0: #include "SkImageRef_ashmem.h" michael@0: #endif michael@0: michael@0: void SkImages::InitializeFlattenables() { michael@0: SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkImageRef_GlobalPool) michael@0: #ifdef SK_BUILD_FOR_ANDROID michael@0: SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkImageRef_ashmem) michael@0: #endif michael@0: }