chromium/cc/raster/playback_image_provider_unittest.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

}  // namespace
}  // namespace cc