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

Unified Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: fix win clang build Created 3 years, 10 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 | « no previous file | cc/layers/texture_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_unittest.cc
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc
index 9a6f470e79eb125744e208367052856b8bf8cde2..8cd3169dbbdaf9e22c4ac807f16190265f846981 100644
--- a/cc/layers/picture_layer_impl_unittest.cc
+++ b/cc/layers/picture_layer_impl_unittest.cc
@@ -32,7 +32,6 @@
#include "cc/test/fake_raster_source.h"
#include "cc/test/fake_recording_source.h"
#include "cc/test/geometry_test_utils.h"
-#include "cc/test/gpu_rasterization_enabled_settings.h"
#include "cc/test/layer_test_common.h"
#include "cc/test/test_layer_tree_host_base.h"
#include "cc/test/test_task_graph_runner.h"
@@ -80,7 +79,6 @@ class PictureLayerImplTest : public TestLayerTreeHostBase {
LayerTreeSettings CreateSettings() override {
LayerTreeSettings settings;
- settings.gpu_rasterization_enabled = true;
settings.layer_transforms_should_scale_layer_contents = true;
settings.create_low_res_tiling = true;
settings.verify_clip_tree_calculations = true;
@@ -89,6 +87,10 @@ class PictureLayerImplTest : public TestLayerTreeHostBase {
return settings;
}
+ std::unique_ptr<CompositorFrameSink> CreateCompositorFrameSink() override {
+ return FakeCompositorFrameSink::Create3dForGpuRasterization();
+ }
+
void SetupDefaultTreesWithFixedTileSize(const gfx::Size& layer_bounds,
const gfx::Size& tile_size,
const Region& invalidation) {
« no previous file with comments | « no previous file | cc/layers/texture_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698