Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: cc/layers/picture_layer_impl_perftest.cc

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/nine_patch_layer_impl_unittest.cc ('k') | cc/layers/picture_layer_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl_perftest.cc
diff --git a/cc/layers/picture_layer_impl_perftest.cc b/cc/layers/picture_layer_impl_perftest.cc
index 87a883454dcd753761749c8ae95f2c44fb81e5c5..3159ec5c5267b8e0467b7c65fdb1d2027b6f4187 100644
--- a/cc/layers/picture_layer_impl_perftest.cc
+++ b/cc/layers/picture_layer_impl_perftest.cc
@@ -7,9 +7,9 @@
#include "base/macros.h"
#include "base/threading/thread_task_runner_handle.h"
#include "cc/debug/lap_timer.h"
+#include "cc/test/fake_compositor_frame_sink.h"
#include "cc/test/fake_impl_task_runner_provider.h"
#include "cc/test/fake_layer_tree_host_impl.h"
-#include "cc/test/fake_output_surface.h"
#include "cc/test/fake_picture_layer_impl.h"
#include "cc/test/fake_raster_source.h"
#include "cc/test/test_shared_bitmap_manager.h"
@@ -42,7 +42,7 @@ class PictureLayerImplPerfTest : public testing::Test {
public:
PictureLayerImplPerfTest()
: task_runner_provider_(base::ThreadTaskRunnerHandle::Get()),
- output_surface_(FakeOutputSurface::CreateDelegating3d()),
+ compositor_frame_sink_(FakeCompositorFrameSink::Create3d()),
host_impl_(LayerTreeSettings(),
&task_runner_provider_,
&shared_bitmap_manager_,
@@ -53,7 +53,7 @@ class PictureLayerImplPerfTest : public testing::Test {
void SetUp() override {
host_impl_.SetVisible(true);
- host_impl_.InitializeRenderer(output_surface_.get());
+ host_impl_.InitializeRenderer(compositor_frame_sink_.get());
}
void SetupPendingTree(const gfx::Size& layer_bounds) {
@@ -175,7 +175,7 @@ class PictureLayerImplPerfTest : public testing::Test {
TestSharedBitmapManager shared_bitmap_manager_;
TestTaskGraphRunner task_graph_runner_;
FakeImplTaskRunnerProvider task_runner_provider_;
- std::unique_ptr<OutputSurface> output_surface_;
+ std::unique_ptr<CompositorFrameSink> compositor_frame_sink_;
FakeLayerTreeHostImpl host_impl_;
FakePictureLayerImpl* pending_layer_;
LapTimer timer_;
« no previous file with comments | « cc/layers/nine_patch_layer_impl_unittest.cc ('k') | cc/layers/picture_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698