gfx/skia/trunk/src/images/SkImages.cpp

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/trunk/src/images/SkImages.cpp	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +/*
     1.5 + * Copyright 2012 Google Inc.
     1.6 + *
     1.7 + * Use of this source code is governed by a BSD-style license that can be
     1.8 + * found in the LICENSE file.
     1.9 + */
    1.10 +
    1.11 +#include "SkFlattenable.h"
    1.12 +#include "SkImageRef_GlobalPool.h"
    1.13 +#include "SkImages.h"
    1.14 +
    1.15 +#ifdef SK_BUILD_FOR_ANDROID
    1.16 +#include "SkImageRef_ashmem.h"
    1.17 +#endif
    1.18 +
    1.19 +void SkImages::InitializeFlattenables() {
    1.20 +    SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkImageRef_GlobalPool)
    1.21 +#ifdef SK_BUILD_FOR_ANDROID
    1.22 +    SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkImageRef_ashmem)
    1.23 +#endif
    1.24 +}

mercurial