#include "components/viz/common/quads/render_pass_internal.h"
#include <stddef.h>
#include "base/trace_event/traced_value.h"
#include "cc/base/math_util.h"
#include "components/viz/common/frame_sinks/copy_output_request.h"
#include "components/viz/common/quads/solid_color_draw_quad.h"
#include "components/viz/common/traced_value.h"
namespace viz {
namespace {
const size_t kDefaultNumSharedQuadStatesToReserve = …;
const size_t kDefaultNumQuadsToReserve = …;
}
RenderPassInternal::RenderPassInternal()
: … { … }
RenderPassInternal::RenderPassInternal(size_t num_layers)
: … { … }
RenderPassInternal::RenderPassInternal(size_t shared_quad_state_list_size,
size_t quad_list_size)
: … { … }
RenderPassInternal::~RenderPassInternal() = default;
SharedQuadState* RenderPassInternal::CreateAndAppendSharedQuadState() { … }
void RenderPassInternal::ReplaceExistingQuadWithSolidColor(
QuadList::Iterator at,
SkColor4f color,
SkBlendMode blend_mode) { … }
void RenderPassInternal::AsValueInto(
base::trace_event::TracedValue* value) const { … }
}