/* * Copyright 2008 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkPixelRef_DEFINED #define SkPixelRef_DEFINED #include "include/core/SkRefCnt.h" #include "include/core/SkSize.h" #include "include/private/SkIDChangeListener.h" #include "include/private/base/SkAPI.h" #include "include/private/base/SkTo.h" #include <atomic> #include <cstddef> #include <cstdint> class SkDiscardableMemory; /** \class SkPixelRef This class is the smart container for pixel memory, and is used with SkBitmap. This class can be shared/accessed between multiple threads. */ class SK_API SkPixelRef : public SkRefCnt { … }; #endif