#include "components/viz/common/quads/shared_quad_state.h"
#include <optional>
#include "base/trace_event/trace_event.h"
#include "base/trace_event/traced_value.h"
#include "base/values.h"
#include "cc/base/math_util.h"
#include "components/viz/common/traced_value.h"
#include "third_party/skia/include/core/SkBlendMode.h"
namespace viz {
SharedQuadState::SharedQuadState() = default;
SharedQuadState::SharedQuadState(const SharedQuadState& other) = default;
SharedQuadState& SharedQuadState::operator=(const SharedQuadState& other) =
default;
SharedQuadState::~SharedQuadState() { … }
bool SharedQuadState::Equals(const SharedQuadState& other) const { … }
void SharedQuadState::SetAll(const SharedQuadState& other) { … }
void SharedQuadState::SetAll(const gfx::Transform& transform,
const gfx::Rect& layer_rect,
const gfx::Rect& visible_layer_rect,
const gfx::MaskFilterInfo& filter_info,
const std::optional<gfx::Rect>& clip,
bool contents_opaque,
float opacity_f,
SkBlendMode blend,
int sorting_context,
uint32_t layer,
bool fast_rounded_corner) { … }
void SharedQuadState::AsValueInto(base::trace_event::TracedValue* value) const { … }
}