chromium/components/viz/common/quads/draw_quad.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#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() :{}

}  // namespace viz