#include <stddef.h>
#include <utility>
#include "cc/layers/append_quads_data.h"
#include "cc/layers/heads_up_display_layer_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/layer_tree_impl_test_base.h"
#include "cc/test/test_task_graph_runner.h"
#include "cc/trees/layer_tree_impl.h"
#include "cc/trees/raster_capabilities.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cc {
namespace {
void CheckDrawLayer(HeadsUpDisplayLayerImpl* layer,
LayerTreeFrameSink* frame_sink,
viz::ClientResourceProvider* resource_provider,
viz::RasterContextProvider* context_provider,
DrawMode draw_mode) { … }
class HeadsUpDisplayLayerImplTest : public LayerTreeImplTestBase,
public ::testing::Test { … };
TEST_F(HeadsUpDisplayLayerImplTest, ResourcelessSoftwareDrawAfterResourceLoss) { … }
TEST_F(HeadsUpDisplayLayerImplTest, CPUAndGPURasterCanvas) { … }
}
}