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

Unified Diff: cc/test/layer_tree_pixel_test.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/test/layer_tree_pixel_test.h ('k') | cc/test/layer_tree_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_pixel_test.cc
diff --git a/cc/test/layer_tree_pixel_test.cc b/cc/test/layer_tree_pixel_test.cc
index ca8288842e71a9d7e8d4aac73f90e3bd95edb89a..7461d8f3b1e02e5390d5cd15b4e61fc0f8d08212 100644
--- a/cc/test/layer_tree_pixel_test.cc
+++ b/cc/test/layer_tree_pixel_test.cc
@@ -20,7 +20,7 @@
#include "cc/test/pixel_test_output_surface.h"
#include "cc/test/pixel_test_software_output_device.h"
#include "cc/test/pixel_test_utils.h"
-#include "cc/test/test_delegating_output_surface.h"
+#include "cc/test/test_compositor_frame_sink.h"
#include "cc/test/test_in_process_context_provider.h"
#include "cc/trees/layer_tree_impl.h"
#include "gpu/command_buffer/client/gl_in_process_context.h"
@@ -37,8 +37,8 @@ LayerTreePixelTest::LayerTreePixelTest()
LayerTreePixelTest::~LayerTreePixelTest() {}
-std::unique_ptr<TestDelegatingOutputSurface>
- LayerTreePixelTest::CreateDelegatingOutputSurface(
+std::unique_ptr<TestCompositorFrameSink>
+ LayerTreePixelTest::CreateCompositorFrameSink(
scoped_refptr<ContextProvider>,
scoped_refptr<ContextProvider>) {
scoped_refptr<TestInProcessContextProvider> compositor_context_provider;
@@ -54,13 +54,12 @@ std::unique_ptr<TestDelegatingOutputSurface>
// Allow resource reclaiming for partial raster tests to get back
// resources from the Display.
bool force_disable_reclaim_resources = false;
- auto delegating_output_surface =
- base::MakeUnique<TestDelegatingOutputSurface>(
- compositor_context_provider, std::move(worker_context_provider),
- CreateDisplayOutputSurface(compositor_context_provider),
- shared_bitmap_manager(), gpu_memory_buffer_manager(),
- RendererSettings(), ImplThreadTaskRunner(), synchronous_composite,
- force_disable_reclaim_resources);
+ auto delegating_output_surface = base::MakeUnique<TestCompositorFrameSink>(
+ compositor_context_provider, std::move(worker_context_provider),
+ CreateDisplayOutputSurface(compositor_context_provider),
+ shared_bitmap_manager(), gpu_memory_buffer_manager(), RendererSettings(),
+ ImplThreadTaskRunner(), synchronous_composite,
+ force_disable_reclaim_resources);
delegating_output_surface->SetEnlargePassTextureAmount(
enlarge_texture_amount_);
return delegating_output_surface;
« no previous file with comments | « cc/test/layer_tree_pixel_test.h ('k') | cc/test/layer_tree_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698