#include "cc/layers/append_quads_data.h"
#include "cc/layers/layer_impl.h"
#include "cc/layers/render_surface_impl.h"
#include "cc/test/fake_impl_task_runner_provider.h"
#include "cc/test/fake_layer_tree_frame_sink.h"
#include "cc/test/fake_layer_tree_host_impl.h"
#include "cc/test/fake_picture_layer_impl.h"
#include "cc/test/layer_tree_impl_test_base.h"
#include "cc/test/test_task_graph_runner.h"
#include "cc/trees/layer_tree_impl.h"
#include "cc/trees/single_thread_proxy.h"
#include "components/viz/common/quads/shared_quad_state.h"
#include "components/viz/common/quads/tile_draw_quad.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/transform.h"
#include "base/memory/ptr_util.h"
#include "cc/test/fake_raster_source.h"
namespace cc {
namespace {
#define EXECUTE_AND_VERIFY_SURFACE_CHANGED(code_to_test) …
#define EXECUTE_AND_VERIFY_SURFACE_DID_NOT_CHANGE(code_to_test) …
class FakePictureLayerImplForRenderSurfaceTest : public FakePictureLayerImpl { … };
TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) { … }
TEST(RenderSurfaceTest, SanityCheckSurfaceCreatesCorrectSharedQuadState) { … }
TEST(RenderSurfaceTest, SanityCheckSurfaceCreatesCorrectRenderPass) { … }
TEST(RenderSurfaceTest, SanityCheckSurfaceIgnoreMaskLayerOcclusion) { … }
}
}