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

Unified Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: Feedback + add rest of logic back in Created 3 years, 11 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
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 36f8052f80c3f755c37efcccfb7065e45332b213..0a690e9f2f05b5056a5d139601dc95a507adee21 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"
@@ -92,7 +91,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;
@@ -101,6 +99,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') | content/browser/gpu/gpu_data_manager_impl_private.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698