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

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

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/test/fake_compositor_dependencies.h ('k') | no next file » | 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 #include "content/test/fake_compositor_dependencies.h" 5 #include "content/test/fake_compositor_dependencies.h"
6 6
7 #include "base/single_thread_task_runner.h" 7 #include "base/single_thread_task_runner.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/thread_task_runner_handle.h"
9 #include "cc/test/fake_external_begin_frame_source.h" 9 #include "cc/test/fake_external_begin_frame_source.h"
10 #include "third_party/khronos/GLES2/gl2.h" 10 #include "third_party/khronos/GLES2/gl2.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 FakeCompositorDependencies::FakeCompositorDependencies() { 14 FakeCompositorDependencies::FakeCompositorDependencies() {
15 } 15 }
16 16
17 FakeCompositorDependencies::~FakeCompositorDependencies() { 17 FakeCompositorDependencies::~FakeCompositorDependencies() {
18 } 18 }
19 19
20 bool FakeCompositorDependencies::IsImplSidePaintingEnabled() {
21 return true;
22 }
23
24 bool FakeCompositorDependencies::IsGpuRasterizationForced() { 20 bool FakeCompositorDependencies::IsGpuRasterizationForced() {
25 return false; 21 return false;
26 } 22 }
27 23
28 bool FakeCompositorDependencies::IsGpuRasterizationEnabled() { 24 bool FakeCompositorDependencies::IsGpuRasterizationEnabled() {
29 return false; 25 return false;
30 } 26 }
31 27
32 int FakeCompositorDependencies::GetGpuRasterizationMSAASampleCount() { 28 int FakeCompositorDependencies::GetGpuRasterizationMSAASampleCount() {
33 return 0; 29 return 0;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 91
96 cc::TaskGraphRunner* FakeCompositorDependencies::GetTaskGraphRunner() { 92 cc::TaskGraphRunner* FakeCompositorDependencies::GetTaskGraphRunner() {
97 return &task_graph_runner_; 93 return &task_graph_runner_;
98 } 94 }
99 95
100 bool FakeCompositorDependencies::IsGatherPixelRefsEnabled() { 96 bool FakeCompositorDependencies::IsGatherPixelRefsEnabled() {
101 return false; 97 return false;
102 } 98 }
103 99
104 } // namespace content 100 } // namespace content
OLDNEW
« no previous file with comments | « content/test/fake_compositor_dependencies.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698