#include "cc/raster/playback_image_provider.h"
#include <utility>
#include <vector>
#include "cc/paint/paint_image_builder.h"
#include "cc/test/skia_common.h"
#include "cc/test/stub_decode_cache.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkM44.h"
#include "third_party/skia/include/core/SkRect.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/core/SkSize.h"
#include "third_party/skia/include/gpu/GrDirectContext.h"
#include "third_party/skia/include/gpu/gl/GrGLInterface.h"
namespace cc {
namespace {
sk_sp<SkImage> CreateRasterImage() { … }
DecodedDrawImage CreateDecode() { … }
class MockDecodeCache : public StubDecodeCache { … };
TEST(PlaybackImageProviderTest, SkipsAllImages) { … }
TEST(PlaybackImageProviderTest, SkipsSomeImages) { … }
TEST(PlaybackImageProviderTest, RefAndUnrefDecode) { … }
TEST(PlaybackImageProviderTest, SwapsGivenFrames) { … }
TEST(PlaybackImageProviderTest, BitmapImages) { … }
TEST(PlaybackImageProviderTest, IgnoresImagesNotSupportedByCache) { … }
}
}