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

Side by Side Diff: content/test/fake_compositor_dependencies.h

Issue 1179653004: Remove non-impl-side painting as an option for blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removenoimplblink: . Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/test/fake_compositor_dependencies.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ 5 #ifndef CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_
6 #define CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ 6 #define CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_
7 7
8 #include "cc/test/test_gpu_memory_buffer_manager.h" 8 #include "cc/test/test_gpu_memory_buffer_manager.h"
9 #include "cc/test/test_shared_bitmap_manager.h" 9 #include "cc/test/test_shared_bitmap_manager.h"
10 #include "cc/test/test_task_graph_runner.h" 10 #include "cc/test/test_task_graph_runner.h"
11 #include "content/renderer/gpu/compositor_dependencies.h" 11 #include "content/renderer/gpu/compositor_dependencies.h"
12 #include "content/test/fake_renderer_scheduler.h" 12 #include "content/test/fake_renderer_scheduler.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 class FakeCompositorDependencies : public CompositorDependencies { 16 class FakeCompositorDependencies : public CompositorDependencies {
17 public: 17 public:
18 FakeCompositorDependencies(); 18 FakeCompositorDependencies();
19 ~FakeCompositorDependencies() override; 19 ~FakeCompositorDependencies() override;
20 20
21 // CompositorDependencies implementation. 21 // CompositorDependencies implementation.
22 bool IsImplSidePaintingEnabled() override;
23 bool IsGpuRasterizationForced() override; 22 bool IsGpuRasterizationForced() override;
24 bool IsGpuRasterizationEnabled() override; 23 bool IsGpuRasterizationEnabled() override;
25 int GetGpuRasterizationMSAASampleCount() override; 24 int GetGpuRasterizationMSAASampleCount() override;
26 bool IsLcdTextEnabled() override; 25 bool IsLcdTextEnabled() override;
27 bool IsDistanceFieldTextEnabled() override; 26 bool IsDistanceFieldTextEnabled() override;
28 bool IsZeroCopyEnabled() override; 27 bool IsZeroCopyEnabled() override;
29 bool IsOneCopyEnabled() override; 28 bool IsOneCopyEnabled() override;
30 bool IsElasticOverscrollEnabled() override; 29 bool IsElasticOverscrollEnabled() override;
31 uint32 GetImageTextureTarget() override; 30 uint32 GetImageTextureTarget() override;
32 scoped_refptr<base::SingleThreadTaskRunner> 31 scoped_refptr<base::SingleThreadTaskRunner>
(...skipping 14 matching lines...) Expand all
47 cc::TestGpuMemoryBufferManager gpu_memory_buffer_manager_; 46 cc::TestGpuMemoryBufferManager gpu_memory_buffer_manager_;
48 cc::TestTaskGraphRunner task_graph_runner_; 47 cc::TestTaskGraphRunner task_graph_runner_;
49 FakeRendererScheduler renderer_scheduler_; 48 FakeRendererScheduler renderer_scheduler_;
50 49
51 DISALLOW_COPY_AND_ASSIGN(FakeCompositorDependencies); 50 DISALLOW_COPY_AND_ASSIGN(FakeCompositorDependencies);
52 }; 51 };
53 52
54 } // namespace content 53 } // namespace content
55 54
56 #endif // CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ 55 #endif // CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/test/fake_compositor_dependencies.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698