#include "components/viz/common/quads/compositor_render_pass.h"
#include <stddef.h>
#include <utility>
#include <vector>
#include "components/viz/common/frame_sinks/copy_output_request.h"
#include "components/viz/common/quads/aggregated_render_pass.h"
#include "components/viz/common/quads/compositor_render_pass_draw_quad.h"
#include "components/viz/common/quads/solid_color_draw_quad.h"
#include "components/viz/common/surfaces/region_capture_bounds.h"
#include "components/viz/common/surfaces/subtree_capture_id.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/rect_conversions.h"
#include "ui/gfx/geometry/transform.h"
namespace viz {
namespace {
static void CompareRenderPassLists(
const CompositorRenderPassList& expected_list,
const CompositorRenderPassList& actual_list) { … }
TEST(CompositorRenderPassTest,
AggregatedCopyShouldBeIdenticalExceptIdAndQuads) { … }
TEST(CompositorRenderPassTest, CopyAllShouldBeIdentical) { … }
TEST(CompositorRenderPassTest, CopyAllWithCulledQuads) { … }
TEST(CompositorRenderPassTest, ReplacedQuadsShouldntMove) { … }
TEST(CompositorRenderPassTest, ReplacedQuadsShouldntBeOpaque) { … }
TEST(CompositorRenderPassTest, ReplacedQuadsGetColor) { … }
TEST(CompositorRenderPassTest, ReplacedQuadsGetBlendMode) { … }
TEST(CompositorRenderPassTest,
ReplacedQuadsKeepOldSharedQuadStateWhenPossible) { … }
}
}