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

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

#include "components/viz/common/quads/picture_draw_quad.h"

#include <utility>

#include "base/trace_event/traced_value.h"
#include "base/values.h"
#include "cc/base/math_util.h"
#include "components/viz/common/resources/platform_color.h"

namespace viz {

PictureDrawQuad::PictureDrawQuad() = default;

PictureDrawQuad::PictureDrawQuad(const PictureDrawQuad& other) = default;

PictureDrawQuad::~PictureDrawQuad() = default;

void PictureDrawQuad::SetNew(
    const SharedQuadState* shared_quad_state,
    const gfx::Rect& rect,
    const gfx::Rect& visible_rect,
    bool needs_blending,
    const gfx::RectF& tex_coord_rect,
    const gfx::Size& texture_size,
    bool nearest_neighbor,
    const gfx::Rect& content,
    float scale,
    ImageAnimationMap animation_map,
    scoped_refptr<const cc::DisplayItemList> display_items,
    cc::ScrollOffsetMap raster_inducing_scrolls) {}

const PictureDrawQuad* PictureDrawQuad::MaterialCast(const DrawQuad* quad) {}

void PictureDrawQuad::ExtendValue(base::trace_event::TracedValue* value) const {}

}  // namespace viz