#include "cc/paint/filter_operations.h"
#include <stddef.h>
#include <cmath>
#include <numeric>
#include <utility>
#include "base/containers/contains.h"
#include "base/feature_list.h"
#include "base/trace_event/traced_value.h"
#include "base/values.h"
#include "cc/base/features.h"
#include "cc/paint/filter_operation.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_conversions.h"
namespace cc {
FilterOperations::FilterOperations() = default;
FilterOperations::FilterOperations(const FilterOperations& other) = default;
FilterOperations::FilterOperations(std::vector<FilterOperation>&& operations)
: … { … }
FilterOperations::~FilterOperations() = default;
FilterOperations& FilterOperations::operator=(const FilterOperations& other) =
default;
FilterOperations& FilterOperations::operator=(FilterOperations&& other) { … }
bool FilterOperations::operator==(const FilterOperations& other) const { … }
void FilterOperations::Append(const FilterOperation& filter) { … }
void FilterOperations::Clear() { … }
bool FilterOperations::IsEmpty() const { … }
gfx::Rect FilterOperations::MapRect(const gfx::Rect& rect,
const std::optional<SkMatrix>& ctm) const { … }
gfx::Rect FilterOperations::MapRectReverse(const gfx::Rect& rect,
const SkMatrix& ctm) const { … }
bool FilterOperations::HasFilterThatMovesPixels() const { … }
gfx::Rect FilterOperations::ExpandRectForPixelMovement(
const gfx::Rect& rect) const { … }
float FilterOperations::MaximumPixelMovement() const { … }
bool FilterOperations::HasFilterThatAffectsOpacity() const { … }
bool FilterOperations::HasReferenceFilter() const { … }
bool FilterOperations::HasFilterOfType(FilterOperation::FilterType type) const { … }
FilterOperations FilterOperations::Blend(const FilterOperations& from,
double progress) const { … }
void FilterOperations::AsValueInto(
base::trace_event::TracedValue* value) const { … }
std::string FilterOperations::ToString() const { … }
}