OLD | NEW |
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/message_loop/message_loop_proxy.h" | 7 #include "base/message_loop/message_loop_proxy.h" |
8 #include "cc/test/fake_external_begin_frame_source.h" | 8 #include "cc/test/fake_external_begin_frame_source.h" |
9 #include "third_party/khronos/GLES2/gl2.h" | 9 #include "third_party/khronos/GLES2/gl2.h" |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 } | 22 } |
23 | 23 |
24 bool FakeCompositorDependencies::IsGpuRasterizationForced() { | 24 bool FakeCompositorDependencies::IsGpuRasterizationForced() { |
25 return false; | 25 return false; |
26 } | 26 } |
27 | 27 |
28 bool FakeCompositorDependencies::IsGpuRasterizationEnabled() { | 28 bool FakeCompositorDependencies::IsGpuRasterizationEnabled() { |
29 return false; | 29 return false; |
30 } | 30 } |
31 | 31 |
32 bool FakeCompositorDependencies::IsThreadedGpuRasterizationEnabled() { | |
33 return false; | |
34 } | |
35 | |
36 int FakeCompositorDependencies::GetGpuRasterizationMSAASampleCount() { | 32 int FakeCompositorDependencies::GetGpuRasterizationMSAASampleCount() { |
37 return 0; | 33 return 0; |
38 } | 34 } |
39 | 35 |
40 bool FakeCompositorDependencies::IsLcdTextEnabled() { | 36 bool FakeCompositorDependencies::IsLcdTextEnabled() { |
41 return false; | 37 return false; |
42 } | 38 } |
43 | 39 |
44 bool FakeCompositorDependencies::IsDistanceFieldTextEnabled() { | 40 bool FakeCompositorDependencies::IsDistanceFieldTextEnabled() { |
45 return false; | 41 return false; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 98 |
103 cc::TaskGraphRunner* FakeCompositorDependencies::GetTaskGraphRunner() { | 99 cc::TaskGraphRunner* FakeCompositorDependencies::GetTaskGraphRunner() { |
104 return &task_graph_runner_; | 100 return &task_graph_runner_; |
105 } | 101 } |
106 | 102 |
107 bool FakeCompositorDependencies::IsGatherPixelRefsEnabled() { | 103 bool FakeCompositorDependencies::IsGatherPixelRefsEnabled() { |
108 return false; | 104 return false; |
109 } | 105 } |
110 | 106 |
111 } // namespace content | 107 } // namespace content |
OLD | NEW |