#include "cc/layers/render_surface_impl.h"
#include <stddef.h>
#include "cc/layers/append_quads_data.h"
#include "cc/test/fake_mask_layer_impl.h"
#include "cc/test/fake_raster_source.h"
#include "cc/test/layer_tree_impl_test_base.h"
#include "components/viz/common/quads/compositor_render_pass_draw_quad.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cc {
namespace {
TEST(RenderSurfaceLayerImplTest, Occlusion) { … }
static std::unique_ptr<viz::CompositorRenderPass> DoAppendQuadsWithScaledMask(
DrawMode draw_mode,
float device_scale_factor) { … }
TEST(RenderSurfaceLayerImplTest, AppendQuadsWithScaledMask) { … }
TEST(RenderSurfaceLayerImplTest, ResourcelessAppendQuadsSkipMask) { … }
TEST(RenderSurfaceLayerImplTest,
AppendQuadsWithSolidColorMaskAndDeviceScaleFactor) { … }
}
}