#include "cc/paint/scoped_raster_flags.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "cc/paint/paint_op.h"
#include "cc/paint/paint_shader.h"
#include "cc/test/skia_common.h"
#include "cc/test/test_paint_worklet_input.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/SkMatrix.h"
#include "third_party/skia/include/core/SkPaint.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/core/SkTileMode.h"
namespace cc {
namespace {
class MockImageProvider : public ImageProvider { … };
class MockPaintWorkletImageProvider : public ImageProvider { … };
}
TEST(ScopedRasterFlagsTest, DecodePaintWorkletImageShader) { … }
TEST(ScopedRasterFlagsTest, KeepsDecodesAlive) { … }
TEST(ScopedRasterFlagsTest, NoImageProvider) { … }
TEST(ScopedRasterFlagsTest, ThinAliasedStroke) { … }
}