#include "cc/test/fake_raster_source.h"
#include <limits>
#include <memory>
#include <utility>
#include "base/synchronization/waitable_event.h"
#include "cc/base/features.h"
#include "cc/paint/paint_flags.h"
#include "cc/test/fake_recording_source.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/SkBlendMode.h"
#include "ui/gfx/geometry/size.h"
namespace cc {
scoped_refptr<FakeRasterSource> FakeRasterSource::CreateInfiniteFilled() { … }
scoped_refptr<FakeRasterSource> FakeRasterSource::CreateFilled(
const gfx::Size& size) { … }
scoped_refptr<FakeRasterSource> FakeRasterSource::CreateFilledWithImages(
const gfx::Size& size) { … }
scoped_refptr<FakeRasterSource> FakeRasterSource::CreateFilledWithText(
const gfx::Size& size) { … }
scoped_refptr<FakeRasterSource> FakeRasterSource::CreateFilledWithPaintWorklet(
const gfx::Size& size) { … }
scoped_refptr<FakeRasterSource> FakeRasterSource::CreateFilledSolidColor(
const gfx::Size& size) { … }
scoped_refptr<FakeRasterSource> FakeRasterSource::CreatePartiallyFilled(
const gfx::Size& size,
const gfx::Rect& recorded_bounds) { … }
scoped_refptr<FakeRasterSource> FakeRasterSource::CreateEmpty(
const gfx::Size& size) { … }
scoped_refptr<FakeRasterSource> FakeRasterSource::CreateFromRecordingSource(
const RecordingSource& recording_source) { … }
scoped_refptr<FakeRasterSource>
FakeRasterSource::CreateFromRecordingSourceWithWaitable(
const RecordingSource& recording_source,
base::WaitableEvent* playback_allowed_event) { … }
FakeRasterSource::FakeRasterSource(const RecordingSource& recording_source)
: … { … }
FakeRasterSource::FakeRasterSource(const RecordingSource& recording_source,
base::WaitableEvent* playback_allowed_event)
: … { … }
FakeRasterSource::~FakeRasterSource() = default;
void FakeRasterSource::PlaybackDisplayListToCanvas(
SkCanvas* canvas,
const PlaybackSettings& settings) const { … }
void FakeRasterSource::SetDirectlyCompositedImageDefaultRasterScale(
gfx::Vector2dF scale) { … }
}