#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "components/viz/common/quads/draw_quad.h"
#include <stddef.h>
#include "base/check.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 "ui/gfx/geometry/quad_f.h"
namespace viz {
DrawQuad::DrawQuad()
: … { … }
DrawQuad::DrawQuad(const DrawQuad& other) = default;
void DrawQuad::SetAll(const SharedQuadState* quad_state,
Material m,
const gfx::Rect& r,
const gfx::Rect& visible_r,
bool blending) { … }
DrawQuad::~DrawQuad() { … }
void DrawQuad::AsValueInto(base::trace_event::TracedValue* value) const { … }
DrawQuad::Resources::Resources() : … { … }
}